aboutsummaryrefslogtreecommitdiffstats
path: root/package/rt2x00/Makefile
diff options
context:
space:
mode:
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)" \