summaryrefslogtreecommitdiff
path: root/target/aarch64
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2021-11-01 12:35:38 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2021-11-01 15:16:19 +0100
commite48e15bff425241ec65f5f892cfd1d2c17a19d67 (patch)
tree0ce13510364096f891c7777204a2220404aa226f /target/aarch64
parent2b3bd34a82c6238a9612cf45b8b8730ca0c3c2be (diff)
mk: Introduce KERNEL_MAKE variable
This combines the typical kernel make call idiom into a single variable reference. A side-effect is that parallel make is enabled (via added '-j' flag) in many cases, but that shouldn't cause harm. Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'target/aarch64')
-rw-r--r--target/aarch64/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/target/aarch64/Makefile b/target/aarch64/Makefile
index c96264c39..b470e2975 100644
--- a/target/aarch64/Makefile
+++ b/target/aarch64/Makefile
@@ -63,8 +63,7 @@ kernel-install: kernel-strip
dtb-install:
ifeq ($(ADK_TARGET_BOARD_BCM28XX),y)
- env $(KERNEL_MAKE_ENV) $(MAKE) -C "${LINUX_DIR}" $(KERNEL_MAKE_OPTS) \
- dtbs $(MAKE_TRACE)
+ ${KERNEL_MAKE} dtbs $(MAKE_TRACE)
mkdir -p $(FW_DIR)/overlays
for x in $(LINUX_DIR)/arch/arm64/boot/dts/overlays/*.dtbo; do \
[[ -e "$$x" ]] && cp $(LINUX_DIR)/arch/arm64/boot/dts/overlays/*.dtbo $(FW_DIR)/overlays; \