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 faff0c9..f3197f3 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)" \