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 /target/ppc | |
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 'target/ppc')
-rw-r--r-- | target/ppc/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/ppc/Makefile b/target/ppc/Makefile index e1df1ef29..9a5529642 100644 --- a/target/ppc/Makefile +++ b/target/ppc/Makefile @@ -71,7 +71,7 @@ kernel-install: kernel-strip @cp $(BUILD_DIR)/$(TARGET_KERNEL) $(FW_DIR)/${TARGET_KERNEL} dtb-install: - env $(KERNEL_MAKE_ENV) $(MAKE) -C $(LINUX_DIR) $(KERNEL_MAKE_OPTS) \ + env $(KERNEL_MAKE_ENV) $(MAKE) $(KERNEL_MAKE_OPTS) \ -j${ADK_MAKE_JOBS} virtex440-ml507.dtb $(MAKE_TRACE) $(CP) $(LINUX_DIR)/arch/powerpc/boot/virtex440-ml507.dtb \ $(FW_DIR)/ppc.dtb |