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>
This commit is contained in:
parent
bc2040d6b1
commit
6f50315611
|
@ -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,"
|
||||
|
|
Loading…
Reference in New Issue