summaryrefslogtreecommitdiff
path: root/package/rt2x00/Makefile
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-08-24 11:22:57 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-08-24 11:22:57 +0000
commit4cbb873c4227529220c14daaaf2a3a04635973c5 (patch)
tree0b17507b29735c15ed42e6fe173ed65c9da34bb4 /package/rt2x00/Makefile
parentb74a66fbd4c96fae65d953bb985047692be64784 (diff)
fix rt2x00 build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8476 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/rt2x00/Makefile')
-rw-r--r--package/rt2x00/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/package/rt2x00/Makefile b/package/rt2x00/Makefile
index faff0c91e1..f3197f37d0 100644
--- a/package/rt2x00/Makefile
+++ b/package/rt2x00/Makefile
@@ -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)" \