diff options
| author | Yi Zhao <yi.zhao@windriver.com> | 2021-08-16 10:09:10 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-17 09:53:04 +0100 |
| commit | 2be20821c24dae30d3dc261c1c9bb7e720c76ced (patch) | |
| tree | 9c38b3ab8c0645ad23f0658dadb9fa9b5b86a63f | |
| parent | 166296f4bc8c621a9dad52ede359f6e0ff0511f7 (diff) | |
| download | poky-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>
| -rw-r--r-- | meta/recipes-devtools/prelink/prelink_git.bb | 4 |
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 | ||
| 49 | BBCLASSEXTEND = "native" | 49 | BBCLASSEXTEND = "native" |
| 50 | 50 | ||
| 51 | EXTRA_OECONF = "--disable-selinux --with-pkgversion=${PV}-${PR} \ | 51 | EXTRA_OECONF = "--with-pkgversion=${PV}-${PR} \ |
| 52 | --with-bugurl=http://bugzilla.yoctoproject.org/" | 52 | --with-bugurl=http://bugzilla.yoctoproject.org/" |
| 53 | 53 | ||
| 54 | PACKAGECONFIG ??= "" | ||
| 55 | PACKAGECONFIG[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 |
