diff mbox series

[meta-selinux,scarthgap] refpolicy_common: enable PARALLEL_MAKE

Message ID 20260508090202.944572-1-ecordonnier@snap.com
State New
Headers show
Series [meta-selinux,scarthgap] refpolicy_common: enable PARALLEL_MAKE | expand

Commit Message

Etienne Cordonnier May 8, 2026, 9:02 a.m. UTC
From: Etienne Cordonnier <ecordonnier@snap.com>

Using parallel make threads speeds up the build.

This line was added in https://git.yoctoproject.org/meta-selinux/commit/?id=1139c40cb687deefddc31c5fbc8ab61f3d50402f in 2012.

The parallel build of refpolicy was fixed in 2014 in commit "Fix parallel build of the policy":  https://github.com/SELinuxProject/refpolicy/commit/c1c11fa2f8ca03d47adaf31bca4b257459448c19

I've tested a build of core-image-full-cmdline with yocto master branch as well as a custom image and it seems to work without issues.

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
---
 recipes-security/refpolicy/refpolicy_common.inc | 2 --
 1 file changed, 2 deletions(-)
diff mbox series

Patch

diff --git a/recipes-security/refpolicy/refpolicy_common.inc b/recipes-security/refpolicy/refpolicy_common.inc
index b1d2701..780f913 100644
--- a/recipes-security/refpolicy/refpolicy_common.inc
+++ b/recipes-security/refpolicy/refpolicy_common.inc
@@ -122,8 +122,6 @@  PACKAGE_ARCH = "${MACHINE_ARCH}"
 
 inherit python3native
 
-PARALLEL_MAKE = ""
-
 DEFAULT_ENFORCING ??= "enforcing"
 
 POLICY_NAME ?= "${POLICY_TYPE}"