summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@gmail.com>2019-04-05 08:37:26 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-04-11 21:15:56 +0100
commit5082d15eda3cca12a18bbdfe62c07be2669cefbb (patch)
tree9815e3e040815d39ad99cf4adf70c88699c60978 /meta
parent5b33b053c13813d0d4eadc96bca43639831dfe3c (diff)
downloadpoky-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.bb11
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
21BBCLASSEXTEND = "native nativesdk" 21BBCLASSEXTEND = "native nativesdk"
22 22
23GI_ENABLE_FLAG = "-Dskip_introspection=false" 23GIR_MESON_OPTION = 'skip_introspection'
24GI_DISABLE_FLAG = "-Dskip_introspection=true" 24GIR_MESON_ENABLE_FLAG = 'false'
25 25GIR_MESON_DISABLE_FLAG = 'true'
26EXTRA_OEMESON_append_class-nativesdk = " ${GI_DISABLE_FLAG}"
27EXTRA_OEMESON_append_class-native = " ${GI_DISABLE_FLAG}"
28
29EXTRA_OEMESON_append_class-target = " ${@bb.utils.contains('GI_DATA_ENABLED', 'True', '${GI_ENABLE_FLAG}', \
30 '${GI_DISABLE_FLAG}', d)} "