summaryrefslogtreecommitdiffstats
path: root/meta/classes/texinfo.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2020-01-28 14:45:27 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-02-03 00:10:11 (GMT)
commit33fb77797e7d1355d2fb5b259fdd027102361f0b (patch)
tree1123b9c5d8c9883c3b51524de5fdb3a26d9408c8 /meta/classes/texinfo.bbclass
parentf7f6303a99c0d550aac005ca477c51d0f916c6a2 (diff)
downloadpoky-33fb77797e7d1355d2fb5b259fdd027102361f0b.tar.gz
texinfo: Only build texinfo when api-docs enabled
Also fix the crosssdk and cross-canadian cases. (From OE-Core rev: 95476373b20ba56c2877c70b5b36335446904f37) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/texinfo.bbclass')
-rw-r--r--meta/classes/texinfo.bbclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/texinfo.bbclass b/meta/classes/texinfo.bbclass
index 72091c7..f46baca 100644
--- a/meta/classes/texinfo.bbclass
+++ b/meta/classes/texinfo.bbclass
@@ -6,9 +6,11 @@
6# Texinfo recipe, you can remove texinfo-native from ASSUME_PROVIDED and 6# Texinfo recipe, you can remove texinfo-native from ASSUME_PROVIDED and
7# makeinfo from SANITY_REQUIRED_UTILITIES. 7# makeinfo from SANITY_REQUIRED_UTILITIES.
8 8
9TEXDEP = "texinfo-native" 9TEXDEP = "${@bb.utils.contains('DISTRO_FEATURES', 'api-documentation', 'texinfo-replacement-native', 'texinfo-dummy-native', d)}"
10TEXDEP_class-native = "texinfo-dummy-native" 10TEXDEP_class-native = "texinfo-dummy-native"
11TEXDEP_class-cross = "texinfo-dummy-native" 11TEXDEP_class-cross = "texinfo-dummy-native"
12TEXDEP_class-crosssdk = "texinfo-dummy-native"
13TEXDEP_class-cross-canadian = "texinfo-dummy-native"
12DEPENDS_append = " ${TEXDEP}" 14DEPENDS_append = " ${TEXDEP}"
13 15
14# libtool-cross doesn't inherit cross 16# libtool-cross doesn't inherit cross