From 78a5f22994da63bb02882aacb68cbbb70c2606ac Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Mon, 30 Jan 2017 15:29:34 +0100 Subject: build system: mark sub-make invocations as parallelizable We rely on gnu make, so we can expect the jobserver to be around in parallel builds, too. Avoids some make warnings and slightly speeds up the build if those sub-makes are executed (eg for arm-trusted-firmware and vboot). Change-Id: I0e6a77f2813f7453d53e88e0214ad8c1b8689042 Signed-off-by: Patrick Georgi Reviewed-on: https://review.coreboot.org/18263 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Martin Roth --- src/arch/arm64/Makefile.inc | 4 ++-- src/vboot/Makefile.inc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/arch/arm64/Makefile.inc b/src/arch/arm64/Makefile.inc index 78ea427cf3..c6c0280b27 100644 --- a/src/arch/arm64/Makefile.inc +++ b/src/arch/arm64/Makefile.inc @@ -172,8 +172,8 @@ BL31_LDFLAGS := --emit-relocs BL31 := $(obj)/bl31.elf $(BL31): $(obj)/build.h - @printf " MAKE $(subst $(obj)/,,$(@))\n" - CROSS_COMPILE="$(CROSS_COMPILE_arm64)" \ + printf " MAKE $(subst $(obj)/,,$(@))\n" + +CROSS_COMPILE="$(CROSS_COMPILE_arm64)" \ CFLAGS="$(BL31_CFLAGS)" \ LDFLAGS="$(BL31_LDFLAGS)" \ $(MAKE) -C $(BL31_SOURCE) $(BL31_MAKEARGS) $(BL31_TARGET) diff --git a/src/vboot/Makefile.inc b/src/vboot/Makefile.inc index c03d639b26..fb373c3aad 100644 --- a/src/vboot/Makefile.inc +++ b/src/vboot/Makefile.inc @@ -95,8 +95,8 @@ VBOOT_CFLAGS += -I$(abspath $(obj)) -include $(top)/src/include/kconfig.h -Wno-m VBOOT_CFLAGS += -DVBOOT_DEBUG $(VB2_LIB): $(obj)/config.h - @printf " MAKE $(subst $(obj)/,,$(@))\n" - $(Q)FIRMWARE_ARCH=$(VB_FIRMWARE_ARCH) \ + printf " MAKE $(subst $(obj)/,,$(@))\n" + +FIRMWARE_ARCH=$(VB_FIRMWARE_ARCH) \ CC="$(CC_verstage)" \ CFLAGS="$(VBOOT_CFLAGS)" VBOOT2="y" \ $(MAKE) -C $(VBOOT_SOURCE) \ -- cgit v1.2.3