Kernel version 2.6.27 changes the location of some of
the include files. This patch adds the arch-specific directory
to the include list so it compiles properly.

Signed-off-by: Jose Vasconcellos <[EMAIL PROTECTED]>


Index: package/spi-ks8995/Makefile
===================================================================
--- package/spi-ks8995/Makefile    (revision 12987)
+++ package/spi-ks8995/Makefile    (working copy)
@@ -39,7 +39,7 @@
     CROSS_COMPILE="$(TARGET_CROSS)" \
     SUBDIRS="$(PKG_BUILD_DIR)" \
     EXTRA_CFLAGS="$(EXTRA_CFLAGS)" \
-    LINUXINCLUDE="-I$(LINUX_DIR)/include -include linux/autoconf.h" \
+    LINUXINCLUDE="-I$(LINUX_DIR)/include 
-I$(LINUX_DIR)/arch/$(LINUX_KARCH)/include -include linux/autoconf.h" \
     $(EXTRA_KCONFIG)
 
 define Build/Prepare

_______________________________________________
openwrt-devel mailing list
[email protected]
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to