util-linux: replace += with _append to EXTRA_OECONF_virtclass-native
PATCH 1/1 util-linux: replace += with _append to EXTRA_OECONF_virtclass-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
@@ -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
Hi Ming,
Quoted 22 lines · On Wednesday 17 July 2013 16:19:39 Ming Liu wrote:
The native/nativesdk overrides of
EXTRA_OECONFshould take effect before append operator, otherwise, it will causeEXTRA_OECONFbe overridden instead of be appended at native/nativesdk build time.Signed-off-by Ming Liu <[email protected]>--- meta/recipes-core/util-linux/util-linux_2.23.1.bb | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)(quoted diff) +0
-0b/meta/recipes-core/util-linux/util-linux_2.23.1.bb index 12f5021..ae80450 100644
meta/recipes-core/util-linux/util-linux_2.23.1.bb +0
-0@@ -18,5 +18,5 @@ SRC_URI[md5sum] = "6741eeaff93ff5a6bacdd3816bdd87c4" SRC_URI[sha256sum] ="
ad4a7831d7b27d0172996fd343e809716c2403b32a94e15194d8ea797223c4af"
CACHED_CONFIGUREVARS+= "scanf_cv_alloc_modifier=as"meta/recipes-core/util-linux/util-linux_2.23.1.bb +0
-3-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 +=
Quoted 3 lines
"--disable-fallocate --disable-use-tty-group" +EXTRA_OECONF_append_class-nativesdk += "--disable-fallocate --disable-use-tty-group"
Could you please avoid the += in conjunction with _append? It's confusing. (You'll need to add a leading space to the value to compensate of course.)
Thanks,
Paul
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre
Quoted 21 lines · Paul Eggleton
Hi Ming,
Quoted 18 lines · On Wednesday 17 July 2013 16:19:39 Ming Liu wrote:
The native/nativesdk overrides of
EXTRA_OECONFshould take effect before append operator, otherwise, it will causeEXTRA_OECONFbe overridden instead of be appended at native/nativesdk build time.Signed-off-by Ming Liu <[email protected]>--- meta/recipes-core/util-linux/util-linux_2.23.1.bb | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)(quoted diff) +0
-0b/meta/recipes-core/util-linux/util-linux_2.23.1.bb index 12f5021..ae80450 100644
meta/recipes-core/util-linux/util-linux_2.23.1.bb +0
-0@@ -18,5 +18,5 @@ SRC_URI[md5sum] = "6741eeaff93ff5a6bacdd3816bdd87c4" SRC_URI[sha256sum] ="
ad4a7831d7b27d0172996fd343e809716c2403b32a94e15194d8ea797223c4af"
Quoted 9 lines
Quoted 7 lines
CACHED_CONFIGUREVARS+= "scanf_cv_alloc_modifier=as"meta/recipes-core/util-linux/util-linux_2.23.1.bb +0
-3-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"
Could you please avoid the += in conjunction with
_append? It's confusing. (You'll need to add a leading space to the value to compensate of course.)
Yes, sorry, my misktake. I will send V2.
the best,
thank you
Quoted 3 lines
Thanks,
Paul
Quoted 14 lines · Ming Liu
The native/nativesdk overrides of
EXTRA_OECONFshould take effect before append operator, otherwise, it will causeEXTRA_OECONFbe overridden instead of be appended at native/nativesdk build time.Signed-off-by Ming Liu <[email protected]>--- 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 +0
-0
meta/recipes-core/util-linux/util-linux_2.23.1.bb SRC_URI[md5sum] = "6741eeaff93ff5a6bacdd3816bdd87c4" · line 22
Quoted 7 lines
meta/recipes-core/util-linux/util-linux_2.23.1.bb +2
-2@@ -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"
You should change += to =, because append + += is confusing.
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Quoted 17 lines · Martin Jansa
Quoted 16 lines · Ming Liu
The native/nativesdk overrides of
EXTRA_OECONFshould take effect before append operator, otherwise, it will causeEXTRA_OECONFbe overridden instead of be appended at native/nativesdk build time.Signed-off-by Ming Liu <[email protected]>--- 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 +0
-0@@ -18,5 +18,5 @@ SRC_URI[md5sum] = "6741eeaff93ff5a6bacdd3816bdd87c4" SRC_URI[sha256sum] = "ad4a7831d7b27d0172996fd343e809716c2403b32a94e15194d8ea797223c4af"
Quoted 6 lines
meta/recipes-core/util-linux/util-linux_2.23.1.bb SRC_URI[md5sum] = "6741eeaff93ff5a6bacdd3816bdd87c4" · line 22
Quoted 5 lines
meta/recipes-core/util-linux/util-linux_2.23.1.bb +2
-2CACHED_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"You should change += to =, because append + += is confusing.
Yes, thanks for pointing this, it's my mistake.
the best,
thank you