Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | # This class is inherited by recipes whose upstream packages invoke the |
| 2 | # texinfo utilities at build-time. Native and cross recipes are made to use the |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 3 | # dummy scripts provided by texinfo-dummy-native, for improved performance. |
| 4 | # Target architecture recipes use the genuine Texinfo utilities. By default, |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 5 | # they use the Texinfo utilities on the host system. If you want to use the |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 6 | # Texinfo recipe, you can remove texinfo-native from ASSUME_PROVIDED and |
| 7 | # makeinfo from SANITY_REQUIRED_UTILITIES. |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 8 | |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 9 | TEXDEP = "${@bb.utils.contains('DISTRO_FEATURES', 'api-documentation', 'texinfo-replacement-native', 'texinfo-dummy-native', d)}" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame^] | 10 | TEXDEP:class-native = "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" |
| 14 | DEPENDS:append = " ${TEXDEP}" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 15 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 16 | # libtool-cross doesn't inherit cross |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame^] | 17 | TEXDEP:pn-libtool-cross = "texinfo-dummy-native" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 18 | |