From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by mail.openembedded.org (Postfix) with ESMTP id 5CA456B0F3 for ; Sun, 20 Oct 2013 10:48:34 +0000 (UTC) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail.windriver.com (8.14.5/8.14.3) with ESMTP id r9KAmZxv005796 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Sun, 20 Oct 2013 03:48:35 -0700 (PDT) Received: from mliu3-desktop.corp.ad.wrs.com (128.224.162.145) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server id 14.2.347.0; Sun, 20 Oct 2013 03:48:35 -0700 From: Ming Liu To: Date: Sun, 20 Oct 2013 18:48:29 +0800 Message-ID: <1382266112-24559-1-git-send-email-ming.liu@windriver.com> X-Mailer: git-send-email 1.8.4.1 MIME-Version: 1.0 Subject: [PATCH 1/4] libarchive: replace += with _append for appending to OVERRIDES variables X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Oct 2013 10:48:35 -0000 Content-Type: text/plain 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 --- meta/recipes-extended/libarchive/libarchive_2.8.5.bb | 4 ++-- 1 file 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," -- 1.8.4.1