diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-01-28 14:45:27 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-02-03 00:10:11 +0000 |
commit | 33fb77797e7d1355d2fb5b259fdd027102361f0b (patch) | |
tree | 1123b9c5d8c9883c3b51524de5fdb3a26d9408c8 /meta | |
parent | f7f6303a99c0d550aac005ca477c51d0f916c6a2 (diff) | |
download | poky-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')
-rw-r--r-- | meta/classes/texinfo.bbclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/texinfo.bbclass b/meta/classes/texinfo.bbclass index 72091c733e..f46bacabd4 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 | ||
9 | TEXDEP = "texinfo-native" | 9 | TEXDEP = "${@bb.utils.contains('DISTRO_FEATURES', 'api-documentation', 'texinfo-replacement-native', 'texinfo-dummy-native', d)}" |
10 | TEXDEP_class-native = "texinfo-dummy-native" | 10 | TEXDEP_class-native = "texinfo-dummy-native" |
11 | TEXDEP_class-cross = "texinfo-dummy-native" | 11 | TEXDEP_class-cross = "texinfo-dummy-native" |
12 | TEXDEP_class-crosssdk = "texinfo-dummy-native" | ||
13 | TEXDEP_class-cross-canadian = "texinfo-dummy-native" | ||
12 | DEPENDS_append = " ${TEXDEP}" | 14 | DEPENDS_append = " ${TEXDEP}" |
13 | 15 | ||
14 | # libtool-cross doesn't inherit cross | 16 | # libtool-cross doesn't inherit cross |