summaryrefslogtreecommitdiffstats
path: root/target/linux/package/switch/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/package/switch/Makefile')
-rw-r--r--target/linux/package/switch/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/package/switch/Makefile b/target/linux/package/switch/Makefile
index 0db826d64..75b35954e 100644
--- a/target/linux/package/switch/Makefile
+++ b/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)" \