diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2024-01-16 12:08:13 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-01-19 12:21:22 +0000 |
commit | 375ac472d848eb6bdd17656cfe005c905025ffab (patch) | |
tree | a656bb38a741a95678c77ea2b7ae3e51cbb07829 /meta/classes-recipe/gobject-introspection.bbclass | |
parent | f09d4637588cedaed86349f78f1c7d6e9a2495d5 (diff) | |
download | poky-375ac472d848eb6bdd17656cfe005c905025ffab.tar.gz |
gobject-introspection-data.bbclass: move do_compile() tweak to g-i class
g-i-data class is strictly for setting GI_DATA_ENABLED. Any build tweaks
should be in g-i class.
(From OE-Core rev: 49988a49f7c9a19aa2a547d49369996e3e20d452)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-recipe/gobject-introspection.bbclass')
-rw-r--r-- | meta/classes-recipe/gobject-introspection.bbclass | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes-recipe/gobject-introspection.bbclass b/meta/classes-recipe/gobject-introspection.bbclass index 65c67ddc72..d0052cd623 100644 --- a/meta/classes-recipe/gobject-introspection.bbclass +++ b/meta/classes-recipe/gobject-introspection.bbclass | |||
@@ -50,6 +50,11 @@ do_configure:prepend:class-target () { | |||
50 | cp ${STAGING_DIR_NATIVE}/${datadir}/aclocal/introspection.m4 ${S}/m4 | 50 | cp ${STAGING_DIR_NATIVE}/${datadir}/aclocal/introspection.m4 ${S}/m4 |
51 | } | 51 | } |
52 | 52 | ||
53 | do_compile:prepend() { | ||
54 | # This prevents g-ir-scanner from writing cache data to $HOME | ||
55 | export GI_SCANNER_DISABLE_CACHE=1 | ||
56 | } | ||
57 | |||
53 | # .typelib files are needed at runtime and so they go to the main package (so | 58 | # .typelib files are needed at runtime and so they go to the main package (so |
54 | # they'll be together with libraries they support). | 59 | # they'll be together with libraries they support). |
55 | FILES:${PN}:append = " ${libdir}/girepository-*/*.typelib" | 60 | FILES:${PN}:append = " ${libdir}/girepository-*/*.typelib" |