On Thu, May 24, 2018 at 7:48 PM, Robert Yang <[email protected]> wrote:
> From: Mingli Yu <[email protected]>
>
> * add libselinux to PACKAGECONFIG for at
>
> Signed-off-by: Mingli Yu <[email protected]>
> Signed-off-by: Robert Yang <[email protected]>
> ---
> meta/recipes-extended/at/at_3.1.20.bb | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/meta/recipes-extended/at/at_3.1.20.bb
> b/meta/recipes-extended/at/at_3.1.20.bb
> index 8fe3b43..b76e83d 100644
> --- a/meta/recipes-extended/at/at_3.1.20.bb
> +++ b/meta/recipes-extended/at/at_3.1.20.bb
> @@ -8,6 +8,12 @@ LIC_FILES_CHKSUM =
> "file://COPYING;md5=4325afd396febcb659c36b49533135d4"
> DEPENDS = "flex flex-native bison-native \
> ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
>
> +PACKAGECONFIG ?= "\
> + ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \
The "new way" to do this would be:
${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)}
> +"
> +
> +PACKAGECONFIG[selinux] = "--with-selinux,--without-selinux,libselinux,"
> +
> RDEPENDS_${PN} = "${@bb.utils.contains('DISTRO_FEATURES', 'pam',
> '${PAM_DEPS}', '', d)} \
> "
>
> --
> 2.7.4
>
> --
> _______________________________________________
> Openembedded-core mailing list
> [email protected]
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core