mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00:00
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>
This commit is contained in:
@@ -48,9 +48,11 @@ inherit autotools
|
|||||||
|
|
||||||
BBCLASSEXTEND = "native"
|
BBCLASSEXTEND = "native"
|
||||||
|
|
||||||
EXTRA_OECONF = "--disable-selinux --with-pkgversion=${PV}-${PR} \
|
EXTRA_OECONF = "--with-pkgversion=${PV}-${PR} \
|
||||||
--with-bugurl=http://bugzilla.yoctoproject.org/"
|
--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
|
# For target prelink we need to ensure paths match the lib path layout
|
||||||
|
|||||||
Reference in New Issue
Block a user