summaryrefslogtreecommitdiffstats
path: root/meta/classes-recipe
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2023-08-10 17:24:49 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-08-21 11:34:12 +0100
commit06cf343e142d192941090d67377005fe62615590 (patch)
tree541a87957fb876b2f8151877c9ad736890b48425 /meta/classes-recipe
parent48e174c386a8791d62f35f2ba8efef59e931c1c3 (diff)
downloadpoky-06cf343e142d192941090d67377005fe62615590.tar.gz
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>
Diffstat (limited to 'meta/classes-recipe')
-rw-r--r--meta/classes-recipe/gi-docgen.bbclass7
1 files changed, 4 insertions, 3 deletions
diff --git a/meta/classes-recipe/gi-docgen.bbclass b/meta/classes-recipe/gi-docgen.bbclass
index b4d7b17761..b178d1c387 100644
--- a/meta/classes-recipe/gi-docgen.bbclass
+++ b/meta/classes-recipe/gi-docgen.bbclass
@@ -8,9 +8,10 @@
8# seems to be a successor to gtk-doc: 8# seems to be a successor to gtk-doc:
9# https://gitlab.gnome.org/GNOME/gi-docgen 9# https://gitlab.gnome.org/GNOME/gi-docgen
10 10
11# This variable is set to True if api-documentation and 11# True if api-documentation and gobject-introspection-data are in DISTRO_FEATURES,
12# gobject-introspection-data are in DISTRO_FEATURES, False otherwise. 12# and qemu-user is in MACHINE_FEATURES, False otherwise.
13GIDOCGEN_ENABLED ?= "${@bb.utils.contains('DISTRO_FEATURES', 'api-documentation gobject-introspection-data', 'True', 'False', d)}" 13GIDOCGEN_ENABLED ?= "${@bb.utils.contains('DISTRO_FEATURES', 'api-documentation gobject-introspection-data', \
14 bb.utils.contains('MACHINE_FEATURES', 'qemu-usermode', 'True', 'False', d), 'False', d)}"
14 15
15# When building native recipes, disable gi-docgen, as it is not necessary, 16# When building native recipes, disable gi-docgen, as it is not necessary,
16# pulls in additional dependencies, and makes build times longer 17# pulls in additional dependencies, and makes build times longer