diff options
author | Andre McCurdy <armccurdy@gmail.com> | 2015-07-15 18:58:08 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-20 10:40:40 +0100 |
commit | c54472c66bfbeff59ed78e76b0b59db0e3441285 (patch) | |
tree | 02da8e11e16d4eb40c6b6fe82fd26d7e58997d2c /meta/recipes-support | |
parent | 2173c00a5f930da79871d2cd326b558763d80084 (diff) | |
download | poky-c54472c66bfbeff59ed78e76b0b59db0e3441285.tar.gz |
libcap: control attr PACKAGECONFIG via xattr DISTRO feature
(From OE-Core rev: 67a588a11998068b3a7dd38d46382d0c2990ea93)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support')
-rw-r--r-- | meta/recipes-support/libcap/libcap_2.24.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-support/libcap/libcap_2.24.bb b/meta/recipes-support/libcap/libcap_2.24.bb index 161bb702c3..36b94ee74f 100644 --- a/meta/recipes-support/libcap/libcap_2.24.bb +++ b/meta/recipes-support/libcap/libcap_2.24.bb | |||
@@ -26,7 +26,8 @@ do_configure() { | |||
26 | sed -e '/shell gperf/cifeq (,yes)' -i libcap/Makefile | 26 | sed -e '/shell gperf/cifeq (,yes)' -i libcap/Makefile |
27 | } | 27 | } |
28 | 28 | ||
29 | PACKAGECONFIG ??= "attr ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)}" | 29 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)} \ |
30 | ${@bb.utils.contains('DISTRO_FEATURES', 'xattr', 'attr', '', d)}" | ||
30 | PACKAGECONFIG_class-native ??= "" | 31 | PACKAGECONFIG_class-native ??= "" |
31 | 32 | ||
32 | PACKAGECONFIG[attr] = "LIBATTR=yes,LIBATTR=no,attr" | 33 | PACKAGECONFIG[attr] = "LIBATTR=yes,LIBATTR=no,attr" |