diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2017-02-27 14:02:50 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-01 11:17:45 +0000 |
commit | 254bfb107134702d8d1e0bfbdd1b011212e8c291 (patch) | |
tree | 188ddf3ea786bc1b913904330e4f95125bd6def4 /meta/recipes-extended/libarchive | |
parent | dec5650bc292aa3c4a0a04ace72d2cf762e9620b (diff) | |
download | poky-254bfb107134702d8d1e0bfbdd1b011212e8c291.tar.gz |
recipes: Make use of the new bb.utils.filter() function
(From OE-Core rev: 0a1427bf9aeeda6bee2cc0af8da4ea5fd90aef6f)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/libarchive')
-rw-r--r-- | meta/recipes-extended/libarchive/libarchive_3.2.2.bb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/meta/recipes-extended/libarchive/libarchive_3.2.2.bb b/meta/recipes-extended/libarchive/libarchive_3.2.2.bb index a7ec621fb9..5e9c1184b6 100644 --- a/meta/recipes-extended/libarchive/libarchive_3.2.2.bb +++ b/meta/recipes-extended/libarchive/libarchive_3.2.2.bb | |||
@@ -11,9 +11,7 @@ PACKAGECONFIG ?= "zlib bz2" | |||
11 | 11 | ||
12 | PACKAGECONFIG_append_class-target = "\ | 12 | PACKAGECONFIG_append_class-target = "\ |
13 | libxml2 \ | 13 | libxml2 \ |
14 | ${@bb.utils.contains('DISTRO_FEATURES', 'acl', 'acl', '', d)} \ | 14 | ${@bb.utils.filter('DISTRO_FEATURES', 'acl largefile xattr', d)} \ |
15 | ${@bb.utils.contains('DISTRO_FEATURES', 'xattr', 'xattr', '', d)} \ | ||
16 | ${@bb.utils.contains('DISTRO_FEATURES', 'largefile', 'largefile', '', d)} \ | ||
17 | " | 15 | " |
18 | 16 | ||
19 | PACKAGECONFIG_append_class-nativesdk = " largefile" | 17 | PACKAGECONFIG_append_class-nativesdk = " largefile" |