fxload requires kernel headers to compile
authorFlorian Fainelli <florian@openwrt.org>
Mon, 12 Jan 2009 18:38:54 +0000 (18:38 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Mon, 12 Jan 2009 18:38:54 +0000 (18:38 +0000)
SVN-Revision: 13993

utils/fxload/Makefile

index 37f2ca4..8e3490c 100644 (file)
@@ -6,6 +6,7 @@
 #
 
 include $(TOPDIR)/rules.mk
+include $(INCLUDE_DIR)/kernel.mk
 
 PKG_NAME:=fxload
 PKG_VERSION:=2002_04_11
@@ -29,7 +30,7 @@ endef
 
 define Build/Compile
        $(call Build/Compile/Default, \
-               CFLAGS="$(TARGET_CFLAGS)" \
+               CFLAGS="$(TARGET_CFLAGS) -I$(LINUX_DIR)/include" \
        )
 endef