From e48e15bff425241ec65f5f892cfd1d2c17a19d67 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Mon, 1 Nov 2021 12:35:38 +0100 Subject: 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 --- target/ppc/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'target/ppc/Makefile') diff --git a/target/ppc/Makefile b/target/ppc/Makefile index 2eec72d23..2b143943f 100644 --- a/target/ppc/Makefile +++ b/target/ppc/Makefile @@ -74,8 +74,7 @@ kernel-install: kernel-strip dtb-install: ifeq ($(ADK_TARGET_SYSTEM_QEMU_PPC_VIRTEX_ML507),y) - env $(KERNEL_MAKE_ENV) $(MAKE) -C "${LINUX_DIR}" $(KERNEL_MAKE_OPTS) \ - -j${ADK_MAKE_JOBS} virtex440-ml507.dtb $(MAKE_TRACE) + ${KERNEL_MAKE} virtex440-ml507.dtb $(MAKE_TRACE) $(CP) $(LINUX_DIR)/arch/powerpc/boot/virtex440-ml507.dtb \ $(FW_DIR)/ppc.dtb endif -- cgit v1.2.3