summaryrefslogtreecommitdiff
path: root/openwrt/target/linux/package/switch/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/target/linux/package/switch/Makefile')
-rw-r--r--openwrt/target/linux/package/switch/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/openwrt/target/linux/package/switch/Makefile b/openwrt/target/linux/package/switch/Makefile
index 0db826d64a..75b35954ec 100644
--- a/openwrt/target/linux/package/switch/Makefile
+++ b/openwrt/target/linux/package/switch/Makefile
@@ -25,7 +25,7 @@ $(PKG_BUILD_DIR)/.configured:
touch $@
$(PKG_BUILD_DIR)/.built:
- $(MAKE) -C "$(LINUX_DIR)" \
+ $(MAKE) -C "$(KERNEL_DIR)" \
CROSS_COMPILE="$(TARGET_CROSS)" \
ARCH="$(LINUX_KARCH)" \
PATH="$(TARGET_PATH)" \