diff options
author | Phil Sutter <phil.sutter@viprinet.com> | 2015-02-24 12:46:47 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2015-02-28 10:14:20 +0100 |
commit | a1f303c316be60e5a282a6a6a27726152b529a51 (patch) | |
tree | 61dc6385c385b37da1c790ad953a3862b3c95887 /mk/kernel-vars.mk | |
parent | f2179916b592f8a0a1feb89f992e1d496f0d62cb (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/kernel-vars.mk')
-rw-r--r-- | mk/kernel-vars.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/kernel-vars.mk b/mk/kernel-vars.mk index 17a8d23a2..89ba10dd9 100644 --- a/mk/kernel-vars.mk +++ b/mk/kernel-vars.mk @@ -1,7 +1,7 @@ # This file is part of the OpenADK project. OpenADK is copyrighted # material, please see the LICENCE file in the top-level directory. -KERNEL_MAKE_OPTS:= V=1 \ +KERNEL_MAKE_OPTS:= V=1 -C "${LINUX_DIR}" \ ARCH="$(ADK_TARGET_KARCH)" \ CROSS_COMPILE="$(TARGET_CROSS)" \ CC="$(TARGET_CC)" \ |