mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 00:59:48 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
f09d463758
commit
375ac472d8
@@ -11,8 +11,3 @@
|
||||
# so that qemu use can be avoided when necessary.
|
||||
GI_DATA_ENABLED ?= "${@bb.utils.contains('DISTRO_FEATURES', 'gobject-introspection-data', \
|
||||
bb.utils.contains('MACHINE_FEATURES', 'qemu-usermode', 'True', 'False', d), 'False', d)}"
|
||||
|
||||
do_compile:prepend() {
|
||||
# This prevents g-ir-scanner from writing cache data to $HOME
|
||||
export GI_SCANNER_DISABLE_CACHE=1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user