summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--make/wtools.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/make/wtools.mk b/make/wtools.mk
index f4ab41cb7..979a6f503 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=$(TOOL_BUILD_DIR)/linux \
+ $(MAKE) -C $(WTOOLS_BUILD_DIR) \
CC=$(TARGET_CC) CFLAGS="$(TARGET_CFLAGS)"
$(TARGET_DIR)/sbin/iwconfig: $(WTOOLS_BUILD_DIR)/iwconfig