[oe-commits] Ming Liu : bzip2: replace += with _append for appending to OVERRIDES variables

git at git.openembedded.org git at git.openembedded.org
Sun Oct 27 11:27:43 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: 9e9b5cbc352e1f8dce46458926b38a5aefc18fc3
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=9e9b5cbc352e1f8dce46458926b38a5aefc18fc3

Author: Ming Liu <ming.liu at windriver.com>
Date:   Sun Oct 20 18:48:30 2013 +0800

bzip2: 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>

---

 meta/recipes-extended/bzip2/bzip2_1.0.6.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-extended/bzip2/bzip2_1.0.6.bb b/meta/recipes-extended/bzip2/bzip2_1.0.6.bb
index 4189f78..c7c5d68 100644
--- a/meta/recipes-extended/bzip2/bzip2_1.0.6.bb
+++ b/meta/recipes-extended/bzip2/bzip2_1.0.6.bb
@@ -26,7 +26,7 @@ ALTERNATIVE_PRIORITY = "100"
 ALTERNATIVE_${PN} = "bunzip2 bzcat"
 
 #install binaries to bzip2-native under sysroot for replacement-native
-EXTRA_OECONF_class-native += "--bindir=${STAGING_BINDIR_NATIVE}/${PN}"
+EXTRA_OECONF_append_class-native = " --bindir=${STAGING_BINDIR_NATIVE}/${PN}"
 do_configure_prepend () {
 	cp ${WORKDIR}/configure.ac ${S}/
 	cp ${WORKDIR}/Makefile.am ${S}/



More information about the Openembedded-commits mailing list