diff options
Diffstat (limited to 'meta/classes')
| -rw-r--r-- | meta/classes/gobject-introspection-data.bbclass | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/gobject-introspection-data.bbclass b/meta/classes/gobject-introspection-data.bbclass index 2ef684626a..d90cdb4839 100644 --- a/meta/classes/gobject-introspection-data.bbclass +++ b/meta/classes/gobject-introspection-data.bbclass | |||
| @@ -5,3 +5,8 @@ | |||
| 5 | # so that qemu use can be avoided when necessary. | 5 | # so that qemu use can be avoided when necessary. |
| 6 | GI_DATA_ENABLED ?= "${@bb.utils.contains('DISTRO_FEATURES', 'gobject-introspection-data', \ | 6 | GI_DATA_ENABLED ?= "${@bb.utils.contains('DISTRO_FEATURES', 'gobject-introspection-data', \ |
| 7 | bb.utils.contains('MACHINE_FEATURES', 'qemu-usermode', 'True', 'False', d), 'False', d)}" | 7 | bb.utils.contains('MACHINE_FEATURES', 'qemu-usermode', 'True', 'False', d), 'False', d)}" |
| 8 | |||
| 9 | do_compile:prepend() { | ||
| 10 | # This prevents g-ir-scanner from writing cache data to $HOME | ||
| 11 | export GI_SCANNER_DISABLE_CACHE=1 | ||
| 12 | } | ||
