]> code.ossystems Code Review - openembedded-core.git/commitdiff
gobject-introspection: avoid using += with an over-ride
authorAndre McCurdy <armccurdy@gmail.com>
Fri, 6 Jul 2018 20:54:54 +0000 (13:54 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 7 Jul 2018 10:01:05 +0000 (11:01 +0100)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-gnome/gobject-introspection/gobject-introspection_1.56.1.bb

index ddec11067ba94231a269a12a9bc933fa8db2e9b0..96e0d6cb0837278fa9d44ac8dea2c43d0f935fe3 100644 (file)
@@ -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 \