diff mbox series

[isar-cip-core] edk2-standalonemm-rpmb: Accelerate the build

Message ID b74cb5b7-db7f-4ef8-9559-b22b8ccec828@siemens.com (mailing list archive)
State Accepted
Headers show
Series [isar-cip-core] edk2-standalonemm-rpmb: Accelerate the build | expand

Commit Message

Jan Kiszka Oct. 12, 2023, 11:22 a.m. UTC
From: Jan Kiszka <jan.kiszka@siemens.com>

Also the first part of its build can run with parallel breaks released.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 recipes-bsp/edk2/edk2-standalonemm-rpmb/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/recipes-bsp/edk2/edk2-standalonemm-rpmb/rules b/recipes-bsp/edk2/edk2-standalonemm-rpmb/rules
index 8d2c1dfc..9a6e1b32 100755
--- a/recipes-bsp/edk2/edk2-standalonemm-rpmb/rules
+++ b/recipes-bsp/edk2/edk2-standalonemm-rpmb/rules
@@ -51,7 +51,7 @@  export PATH=$(WORKSPACE)/edk2/BaseTools/Bin/Linux-$(TARGET_ARCH):$(WORKSPACE)/ed
 override_dh_auto_build:
 	source edk2/edksetup.sh --reconfig
 
-	CFLAGS= LDFLAGS=  make -C edk2/BaseTools
+	CFLAGS= LDFLAGS= $(MAKE) $(PARALLEL_MAKE) -C edk2/BaseTools
 
 	(export GCC5_$(TARGET_ARCH)_PREFIX=$(DEB_HOST_GNU_TYPE)- && \
 		build -p $(ACTIVE_PLATFORM) -b RELEASE -a $(TARGET_ARCH) -t GCC5 -n $(shell nproc))