summaryrefslogtreecommitdiffstats
path: root/meta/classes-recipe
diff options
context:
space:
mode:
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