summaryrefslogtreecommitdiff
path: root/mk/build.mk
diff options
context:
space:
mode:
authorPhil Sutter <phil.sutter@viprinet.com>2015-02-24 12:46:47 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2015-02-28 10:14:20 +0100
commita1f303c316be60e5a282a6a6a27726152b529a51 (patch)
tree61dc6385c385b37da1c790ad953a3862b3c95887 /mk/build.mk
parentf2179916b592f8a0a1feb89f992e1d496f0d62cb (diff)
extend KERNEL_MAKE_OPTS by the target directory
This change is straightforward but in toolchain/kernel-headers/Makefile which seems to be called before ${BUILD_DIR}/linux symlink exists. Therefore define LINUX_DIR to the correct value in between inclusion of vars.mk (through rules.mk) and kernel-vars.mk.
Diffstat (limited to 'mk/build.mk')
-rw-r--r--mk/build.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/build.mk b/mk/build.mk
index 214c52e88..29c99bd6f 100644
--- a/mk/build.mk
+++ b/mk/build.mk
@@ -223,7 +223,7 @@ kernelconfig:
${KERNEL_MAKE_ENV} ${MAKE} \
ARCH=$(ADK_TARGET_ARCH) \
${KERNEL_MAKE_OPTS} \
- -C $(BUILD_DIR)/linux menuconfig
+ menuconfig
# create a new package from package/.template
newpackage: