Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 1/2] gobject-introspection: avoid using += with an over-ride
@ 2018-07-06 20:54 Andre McCurdy
  2018-07-06 20:54 ` [PATCH 2/2] gobject-introspection: minor recipe formatting tweaks Andre McCurdy
  0 siblings, 1 reply; 2+ messages in thread
From: Andre McCurdy @ 2018-07-06 20:54 UTC (permalink / raw)
  To: openembedded-core

Using += with an over-ride can be a source of confusion so try to
avoid the construct in core recipes.

The current usage functions correctly (it over-rides the default, ie
empty, value of EXTRA_OECONF and then PACKAGECONFIG derived options
are subsequently appended), however the += is unnecessary and can be
dropped.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
---
 .../recipes-gnome/gobject-introspection/gobject-introspection_1.56.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.56.1.bb b/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.56.1.bb
index ddec110..96e0d6c 100644
--- a/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.56.1.bb
+++ b/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.56.1.bb
@@ -102,7 +102,7 @@ EOF
 
 # Configure target build to use native tools of itself and to use a qemu wrapper
 # and optionally to generate introspection data
-EXTRA_OECONF_class-target += "--enable-host-gi \
+EXTRA_OECONF_class-target = "--enable-host-gi \
                               --disable-static \
                               --enable-gi-cross-wrapper=${B}/g-ir-scanner-qemuwrapper \
                               --enable-gi-ldd-wrapper=${B}/g-ir-scanner-lddwrapper \
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-07-06 20:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-06 20:54 [PATCH 1/2] gobject-introspection: avoid using += with an over-ride Andre McCurdy
2018-07-06 20:54 ` [PATCH 2/2] gobject-introspection: minor recipe formatting tweaks Andre McCurdy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox