[package] fix linux-atm build failure on brcm63xx (and probably other targets) (...
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 12 Apr 2010 12:59:09 +0000 (12:59 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 12 Apr 2010 12:59:09 +0000 (12:59 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20826 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/linux-atm/Makefile

index c8a18c3..fd92cc1 100644 (file)
@@ -47,13 +47,13 @@ define Build/Configure
        touch $(PKG_BUILD_DIR)/stamp-h.in
 endef
 
-TARGET_CFLAGS += -I$(LINUX_DIR)/include
+TARGET_CFLAGS += -I$(LINUX_DIR)/include -I$(LINUX_DIR)/arch/$(LINUX_KARCH)/include
 
 define Build/Compile
        # src/qgen is built with HOSTCC, which does not really like our LDFLAGS
        $(MAKE) -C $(PKG_BUILD_DIR)/src/qgen \
                LDFLAGS="" \
-               all 
+               all
        $(MAKE) -C $(PKG_BUILD_DIR) \
                DESTDIR="$(PKG_INSTALL_DIR)" \
                all install
This page took 0.026702 seconds and 4 git commands to generate.