extend KERNEL_MAKE_OPTS by the target directory
commita1f303c316be60e5a282a6a6a27726152b529a51
authorPhil Sutter <phil.sutter@viprinet.com>
Tue, 24 Feb 2015 11:46:47 +0000 (24 12:46 +0100)
committerWaldemar Brodkorb <wbx@openadk.org>
Sat, 28 Feb 2015 09:14:20 +0000 (28 10:14 +0100)
tree61dc6385c385b37da1c790ad953a3862b3c95887
parentf2179916b592f8a0a1feb89f992e1d496f0d62cb
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.
mk/build.mk
mk/image.mk
mk/kernel-build.mk
mk/kernel-vars.mk
target/arm/Makefile
target/ppc/Makefile
toolchain/kernel-headers/Makefile