fix rt2x00 build
authorNicolas Thill <nico@openwrt.org>
Fri, 24 Aug 2007 11:22:57 +0000 (11:22 +0000)
committerNicolas Thill <nico@openwrt.org>
Fri, 24 Aug 2007 11:22:57 +0000 (11:22 +0000)
SVN-Revision: 8476

package/rt2x00/Makefile

index faff0c91e183a74464c63c3274758d19949fbb51..f3197f37d01fbbaf0501ab2095e83855022e379c 100644 (file)
@@ -113,7 +113,10 @@ define Build/Prepare
 endef
 
 define Build/Compile
-       $(MAKE) -C "$(PKG_BUILD_DIR)" config_header
+       $(MAKE) -C "$(PKG_BUILD_DIR)" \
+               KERNDIR="$(LINUX_DIR)" \
+               config_header
+
        $(MAKE) -C "$(LINUX_DIR)" \
                CROSS_COMPILE="$(TARGET_CROSS)" \
                ARCH="$(LINUX_KARCH)" V="$(V)" \