summaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
Diffstat (limited to 'make')
-rw-r--r--make/wtools.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/make/wtools.mk b/make/wtools.mk
index 4050b1daf..f4ab41cb7 100644
--- a/make/wtools.mk
+++ b/make/wtools.mk
@@ -19,7 +19,7 @@ $(WTOOLS_BUILD_DIR)/.configured: $(WTOOLS_BUILD_DIR)/.unpacked
touch $(WTOOLS_BUILD_DIR)/.configured
$(WTOOLS_BUILD_DIR)/iwconfig: $(WTOOLS_BUILD_DIR)/.configured
- $(MAKE) -C $(WTOOLS_BUILD_DIR) KERNEL_SRC=$(BUILD_DIR)/linux \
+ $(MAKE) -C $(WTOOLS_BUILD_DIR) KERNEL_SRC=$(TOOL_BUILD_DIR)/linux \
CC=$(TARGET_CC) CFLAGS="$(TARGET_CFLAGS)"
$(TARGET_DIR)/sbin/iwconfig: $(WTOOLS_BUILD_DIR)/iwconfig