diff options
author | Ming Liu <ming.liu@windriver.com> | 2013-10-20 18:48:29 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-10-26 15:59:16 +0100 |
commit | 6f5031561194f295cbf4c7aeb40e3996c4dbaa83 (patch) | |
tree | 8fc7c8ebc00a5e51f58a017a42df9f22f3375bdc | |
parent | bc2040d6b16126af31d4640ac79a86ea9b646d58 (diff) | |
download | poky-6f5031561194f295cbf4c7aeb40e3996c4dbaa83.tar.gz |
libarchive: replace += with _append for appending to OVERRIDES variables
In some cases, it's unfit to use "+=" in a conditional appending, we would
end up with the variable being set rather than being appended, which is not
it mean to.
(From OE-Core rev: 15ba35aebd7550e53e9f2f35de6b709937dbb55c)
Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-extended/libarchive/libarchive_2.8.5.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-extended/libarchive/libarchive_2.8.5.bb b/meta/recipes-extended/libarchive/libarchive_2.8.5.bb index 1842bf71ea..3bcb7fb885 100644 --- a/meta/recipes-extended/libarchive/libarchive_2.8.5.bb +++ b/meta/recipes-extended/libarchive/libarchive_2.8.5.bb | |||
@@ -7,13 +7,13 @@ PR = "r0" | |||
7 | 7 | ||
8 | PACKAGECONFIG ?= "libxml2 zlib bz2" | 8 | PACKAGECONFIG ?= "libxml2 zlib bz2" |
9 | 9 | ||
10 | PACKAGECONFIG_class-target += "\ | 10 | PACKAGECONFIG_append_class-target = "\ |
11 | ${@base_contains('DISTRO_FEATURES', 'acl', 'acl', '', d)} \ | 11 | ${@base_contains('DISTRO_FEATURES', 'acl', 'acl', '', d)} \ |
12 | ${@base_contains('DISTRO_FEATURES', 'xattr', 'xattr', '', d)} \ | 12 | ${@base_contains('DISTRO_FEATURES', 'xattr', 'xattr', '', d)} \ |
13 | ${@base_contains('DISTRO_FEATURES', 'largefile', 'largefile', '', d)} \ | 13 | ${@base_contains('DISTRO_FEATURES', 'largefile', 'largefile', '', d)} \ |
14 | " | 14 | " |
15 | 15 | ||
16 | PACKAGECONFIG_class-nativesdk += "largefile" | 16 | PACKAGECONFIG_append_class-nativesdk = " largefile" |
17 | 17 | ||
18 | PACKAGECONFIG[acl] = "--enable-acl,--disable-acl,acl," | 18 | PACKAGECONFIG[acl] = "--enable-acl,--disable-acl,acl," |
19 | PACKAGECONFIG[xattr] = "--enable-xattr,--disable-xattr,attr," | 19 | PACKAGECONFIG[xattr] = "--enable-xattr,--disable-xattr,attr," |