diff options
author | Andreas Müller <schnitzeltony@gmail.com> | 2019-04-05 08:37:26 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-04-11 21:15:56 +0100 |
commit | 5082d15eda3cca12a18bbdfe62c07be2669cefbb (patch) | |
tree | 9815e3e040815d39ad99cf4adf70c88699c60978 /meta | |
parent | 5b33b053c13813d0d4eadc96bca43639831dfe3c (diff) | |
download | poky-5082d15eda3cca12a18bbdfe62c07be2669cefbb.tar.gz |
libmodulemd: use gobject-introspection.bbclass on/off mechanism
(From OE-Core rev: 7ebe0cfccb5ec5643da3154cc4d6537493ad496e)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/libmodulemd/libmodulemd_git.bb | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/meta/recipes-devtools/libmodulemd/libmodulemd_git.bb b/meta/recipes-devtools/libmodulemd/libmodulemd_git.bb index 87e92114c8..84012e4193 100644 --- a/meta/recipes-devtools/libmodulemd/libmodulemd_git.bb +++ b/meta/recipes-devtools/libmodulemd/libmodulemd_git.bb | |||
@@ -20,11 +20,6 @@ DEPENDS += "glib-2.0 libyaml glib-2.0-native" | |||
20 | 20 | ||
21 | BBCLASSEXTEND = "native nativesdk" | 21 | BBCLASSEXTEND = "native nativesdk" |
22 | 22 | ||
23 | GI_ENABLE_FLAG = "-Dskip_introspection=false" | 23 | GIR_MESON_OPTION = 'skip_introspection' |
24 | GI_DISABLE_FLAG = "-Dskip_introspection=true" | 24 | GIR_MESON_ENABLE_FLAG = 'false' |
25 | 25 | GIR_MESON_DISABLE_FLAG = 'true' | |
26 | EXTRA_OEMESON_append_class-nativesdk = " ${GI_DISABLE_FLAG}" | ||
27 | EXTRA_OEMESON_append_class-native = " ${GI_DISABLE_FLAG}" | ||
28 | |||
29 | EXTRA_OEMESON_append_class-target = " ${@bb.utils.contains('GI_DATA_ENABLED', 'True', '${GI_ENABLE_FLAG}', \ | ||
30 | '${GI_DISABLE_FLAG}', d)} " | ||