[oe-commits] Ming Liu : strace: remove += assignment of a OVERRIDES variable

git at git.openembedded.org git at git.openembedded.org
Wed Oct 30 14:37:31 UTC 2013


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

Author: Ming Liu <ming.liu at windriver.com>
Date:   Mon Oct 21 08:41:34 2013 +0800

strace: remove += assignment of a OVERRIDES variable

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-devtools/strace/strace_4.8.bb |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/strace/strace_4.8.bb b/meta/recipes-devtools/strace/strace_4.8.bb
index 79a4ad7..23cc03e 100644
--- a/meta/recipes-devtools/strace/strace_4.8.bb
+++ b/meta/recipes-devtools/strace/strace_4.8.bb
@@ -18,8 +18,7 @@ SRC_URI[sha256sum] = "f492291f07a7c805c07a8395cce1ea054a6401ad414f4cc12185672215
 inherit autotools ptest
 RDEPENDS_${PN}-ptest += "make"
 
-PACKAGECONFIG_class-target ?= "libaio"
-PACKAGECONFIG_class-target += "${@base_contains('DISTRO_FEATURES', 'acl', 'acl', '', d)}"
+PACKAGECONFIG_class-target ?= "libaio ${@base_contains('DISTRO_FEATURES', 'acl', 'acl', '', d)}"
 
 PACKAGECONFIG[libaio] = "--enable-aio,--disable-aio,libaio"
 PACKAGECONFIG[acl] = "--enable-acl,--disable-acl,acl"



More information about the Openembedded-commits mailing list