From: Yi Zhao Date: Mon, 16 Aug 2021 02:09:10 +0000 (+0800) Subject: prelink: add PACKAGECONFIG for selinux X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~7063 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d25b644741f5b941aa3051545e86e16a365c51c3;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git prelink: add PACKAGECONFIG for selinux Add PACKAGECONFIG for selinux rather than disable it directly. This is useful for selinux distro feature. Signed-off-by: Yi Zhao Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/prelink/prelink_git.bb b/meta/recipes-devtools/prelink/prelink_git.bb index 78d4c718179..24713b61f84 100644 --- a/meta/recipes-devtools/prelink/prelink_git.bb +++ b/meta/recipes-devtools/prelink/prelink_git.bb @@ -48,9 +48,11 @@ inherit autotools BBCLASSEXTEND = "native" -EXTRA_OECONF = "--disable-selinux --with-pkgversion=${PV}-${PR} \ +EXTRA_OECONF = "--with-pkgversion=${PV}-${PR} \ --with-bugurl=http://bugzilla.yoctoproject.org/" +PACKAGECONFIG ??= "" +PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux" # # For target prelink we need to ensure paths match the lib path layout