summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/prelink/prelink_git.bb
diff options
context:
space:
mode:
authorYi Zhao <yi.zhao@windriver.com>2021-08-16 10:09:10 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-17 09:53:04 +0100
commit2be20821c24dae30d3dc261c1c9bb7e720c76ced (patch)
tree9c38b3ab8c0645ad23f0658dadb9fa9b5b86a63f /meta/recipes-devtools/prelink/prelink_git.bb
parent166296f4bc8c621a9dad52ede359f6e0ff0511f7 (diff)
downloadpoky-2be20821c24dae30d3dc261c1c9bb7e720c76ced.tar.gz
prelink: add PACKAGECONFIG for selinux
Add PACKAGECONFIG for selinux rather than disable it directly. This is useful for selinux distro feature. (From OE-Core rev: d25b644741f5b941aa3051545e86e16a365c51c3) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/prelink/prelink_git.bb')
-rw-r--r--meta/recipes-devtools/prelink/prelink_git.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-devtools/prelink/prelink_git.bb b/meta/recipes-devtools/prelink/prelink_git.bb
index 78d4c71817..24713b61f8 100644
--- a/meta/recipes-devtools/prelink/prelink_git.bb
+++ b/meta/recipes-devtools/prelink/prelink_git.bb
@@ -48,9 +48,11 @@ inherit autotools
48 48
49BBCLASSEXTEND = "native" 49BBCLASSEXTEND = "native"
50 50
51EXTRA_OECONF = "--disable-selinux --with-pkgversion=${PV}-${PR} \ 51EXTRA_OECONF = "--with-pkgversion=${PV}-${PR} \
52 --with-bugurl=http://bugzilla.yoctoproject.org/" 52 --with-bugurl=http://bugzilla.yoctoproject.org/"
53 53
54PACKAGECONFIG ??= ""
55PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux"
54 56
55# 57#
56# For target prelink we need to ensure paths match the lib path layout 58# For target prelink we need to ensure paths match the lib path layout