mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
gi-docgen: depend on qemu-usermode MACHINE_FEATURES
gi-docgen uses GObject Introspection, so depends on qemu-usermode working. (From OE-Core rev: 524eab0e39c53ea9006b95c9e08ea1f071f1d1f2) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
48e174c386
commit
06cf343e14
@@ -8,9 +8,10 @@
|
|||||||
# seems to be a successor to gtk-doc:
|
# seems to be a successor to gtk-doc:
|
||||||
# https://gitlab.gnome.org/GNOME/gi-docgen
|
# https://gitlab.gnome.org/GNOME/gi-docgen
|
||||||
|
|
||||||
# This variable is set to True if api-documentation and
|
# True if api-documentation and gobject-introspection-data are in DISTRO_FEATURES,
|
||||||
# gobject-introspection-data are in DISTRO_FEATURES, False otherwise.
|
# and qemu-user is in MACHINE_FEATURES, False otherwise.
|
||||||
GIDOCGEN_ENABLED ?= "${@bb.utils.contains('DISTRO_FEATURES', 'api-documentation gobject-introspection-data', 'True', 'False', d)}"
|
GIDOCGEN_ENABLED ?= "${@bb.utils.contains('DISTRO_FEATURES', 'api-documentation gobject-introspection-data', \
|
||||||
|
bb.utils.contains('MACHINE_FEATURES', 'qemu-usermode', 'True', 'False', d), 'False', d)}"
|
||||||
|
|
||||||
# When building native recipes, disable gi-docgen, as it is not necessary,
|
# When building native recipes, disable gi-docgen, as it is not necessary,
|
||||||
# pulls in additional dependencies, and makes build times longer
|
# pulls in additional dependencies, and makes build times longer
|
||||||
|
|||||||
Reference in New Issue
Block a user