mirror of
https://git.yoctoproject.org/poky
synced 2026-04-18 03:32:13 +02:00
gi-docgen.bbclass: depends on gobject-introspection-data being enabled
The gi-docgen tool depends, as it's name suggests, on gobject-introspection being available. (From OE-Core rev: 874dc89182835ff01d881b998c707c1a9f1ccb08) 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
c7c7d774d0
commit
5198bf480d
@@ -10,7 +10,8 @@
|
||||
|
||||
# This variable is set to True if api-documentation is in
|
||||
# DISTRO_FEATURES, and False otherwise.
|
||||
GIDOCGEN_ENABLED ?= "${@bb.utils.contains('DISTRO_FEATURES', 'api-documentation', 'True', 'False', d)}"
|
||||
GIDOCGEN_ENABLED ?= "${@bb.utils.contains('DISTRO_FEATURES', 'api-documentation gobject-introspection-data', 'True', 'False', d)}"
|
||||
|
||||
# When building native recipes, disable gi-docgen, as it is not necessary,
|
||||
# pulls in additional dependencies, and makes build times longer
|
||||
GIDOCGEN_ENABLED:class-native = "False"
|
||||
|
||||
Reference in New Issue
Block a user