[oe-commits] Ming Liu : libarchive: replace += with _append for appending to OVERRIDES variables
git at git.openembedded.org
git at git.openembedded.org
Sun Oct 27 11:27:44 UTC 2013
Module: openembedded-core.git
Branch: master
Commit: 15ba35aebd7550e53e9f2f35de6b709937dbb55c
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=15ba35aebd7550e53e9f2f35de6b709937dbb55c
Author: Ming Liu <ming.liu at windriver.com>
Date: Sun Oct 20 18:48:29 2013 +0800
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.
Signed-off-by: Ming Liu <ming.liu at windriver.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>
---
.../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 1842bf7..3bcb7fb 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"
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,"
More information about the Openembedded-commits
mailing list