summaryrefslogtreecommitdiff
path: root/package/rt2x00/Makefile
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2007-08-24 11:22:57 +0000
committerNicolas Thill <nico@openwrt.org>2007-08-24 11:22:57 +0000
commitfa3d3f60227179ffe733cbfeb354eba3ed118630 (patch)
tree7a79eecfb58e06554392b1aab58439089a58704b /package/rt2x00/Makefile
parentb176f181a108a1375f11c38f6719cdd4a625a7bd (diff)
downloadmtk-20170518-fa3d3f60227179ffe733cbfeb354eba3ed118630.zip
mtk-20170518-fa3d3f60227179ffe733cbfeb354eba3ed118630.tar.gz
mtk-20170518-fa3d3f60227179ffe733cbfeb354eba3ed118630.tar.bz2
fix rt2x00 build
SVN-Revision: 8476
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 faff0c9..f3197f3 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)" \