[oe-commits] [openembedded-core] 07/08: gobject-introspection: avoid using += with an over-ride

git at git.openembedded.org git at git.openembedded.org
Sat Jul 7 10:02:17 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit e255d1aebd0e019f42c2110873ef4779bbbb5974
Author: Andre McCurdy <armccurdy at gmail.com>
AuthorDate: Fri Jul 6 13:54:54 2018 -0700

    gobject-introspection: avoid using += with an over-ride
    
    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 at gmail.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 .../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 \

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list