]> code.ossystems Code Review - openembedded-core.git/commitdiff
libarchive: replace += with _append for appending to OVERRIDES variables
authorMing Liu <ming.liu@windriver.com>
Sun, 20 Oct 2013 10:48:29 +0000 (18:48 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 26 Oct 2013 14:53:24 +0000 (15:53 +0100)
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.

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-extended/libarchive/libarchive_2.8.5.bb

index 1842bf71eafbfbdfe02d7341e9ac8acd3809d345..3bcb7fb885c33ca68a2fbb73ebd8d8440eee5bb5 100644 (file)
@@ -7,13 +7,13 @@ PR = "r0"
 
 PACKAGECONFIG ?= "libxml2 zlib bz2"
 
-PACKAGECONFIG_class-target += "\
+PACKAGECONFIG_append_class-target = "\
        ${@base_contains('DISTRO_FEATURES', 'acl', 'acl', '', d)} \
        ${@base_contains('DISTRO_FEATURES', 'xattr', 'xattr', '', d)} \
        ${@base_contains('DISTRO_FEATURES', 'largefile', 'largefile', '', d)} \
 "
 
-PACKAGECONFIG_class-nativesdk += "largefile"
+PACKAGECONFIG_append_class-nativesdk = " largefile"
 
 PACKAGECONFIG[acl] = "--enable-acl,--disable-acl,acl,"
 PACKAGECONFIG[xattr] = "--enable-xattr,--disable-xattr,attr,"