Skip to contentSkip to conversation

util-linux: replace += with _append to EXTRA_OECONF_class-native

PATCH Superseded Ming Liu 2 participants 3 messages Jul 17, 2013 – Jul 18, 2013

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Ming Liu

author
#0 lore raw

PATCH v2 1/1 util-linux: replace += with _append to EXTRA_OECONF_class-native

The native/nativesdk overrides of EXTRA_OECONF should take effect before append operator, otherwise, it will cause EXTRA_OECONF be overridden instead of be appended at native/nativesdk build time.

---
 meta/recipes-core/util-linux/util-linux_2.23.1.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-core/util-linux/util-linux_2.23.1.bb +2 -2
index 12f5021..cc11977 100644
@@ -18,5 +18,5 @@ SRC_URI[md5sum] = "6741eeaff93ff5a6bacdd3816bdd87c4"
 SRC_URI[sha256sum] = "ad4a7831d7b27d0172996fd343e809716c2403b32a94e15194d8ea797223c4af"
 
 CACHED_CONFIGUREVARS += "scanf_cv_alloc_modifier=as"
-EXTRA_OECONF_class-native += "--disable-fallocate --disable-use-tty-group"
-EXTRA_OECONF_class-nativesdk += "--disable-fallocate --disable-use-tty-group"
+EXTRA_OECONF_append_class-native = "--disable-fallocate --disable-use-tty-group"
+EXTRA_OECONF_append_class-nativesdk = "--disable-fallocate --disable-use-tty-group"
Signature · 1 line
1.7.1
#1 lore raw

meta/recipes-core/util-linux/util-linux_2.23.1.bb SRC_URI[md5sum] = "6741eeaff93ff5a6bacdd3816bdd87c4" · line 22

Quoted 2 lines · Ming Liu
meta/recipes-core/util-linux/util-linux_2.23.1.bb +2 -0
+EXTRA_OECONF_append_class-native = "--disable-fallocate --disable-use-tty-group"
+EXTRA_OECONF_append_class-nativesdk = "--disable-fallocate --disable-use-tty-group"

_append won't add a leading space so you're making a massive assumption here, please add a leading space for safety.

Ross

author
#2 lore raw
Quoted 5 lines · Ross

meta/recipes-core/util-linux/util-linux_2.23.1.bb SRC_URI[md5sum] = "6741eeaff93ff5a6bacdd3816bdd87c4" · line 22

Quoted 2 lines · Ming Liu
meta/recipes-core/util-linux/util-linux_2.23.1.bb +2 -0
+EXTRA_OECONF_append_class-native = "--disable-fallocate --disable-use-tty-group"
+EXTRA_OECONF_append_class-nativesdk = "--disable-fallocate --disable-use-tty-group"

_append won't add a leading space so you're making a massive assumption here, please add a leading space for safety.

Yes, thanks for the reminding, I will send the V3.

the best,
thank you

Quoted 3 lines

Ross