summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/rt2x00/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/package/rt2x00/Makefile b/package/rt2x00/Makefile
index faff0c91e..f3197f37d 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)" \