blob: f46bacabd4f5c386dfc89d29188e14dd9527c7f1 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001# 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 Bishop6e60e8b2018-02-01 10:27:11 -05003# dummy scripts provided by texinfo-dummy-native, for improved performance.
4# Target architecture recipes use the genuine Texinfo utilities. By default,
Patrick Williamsc124f4f2015-09-15 14:41:29 -05005# they use the Texinfo utilities on the host system. If you want to use the
Brad Bishop6e60e8b2018-02-01 10:27:11 -05006# Texinfo recipe, you can remove texinfo-native from ASSUME_PROVIDED and
7# makeinfo from SANITY_REQUIRED_UTILITIES.
Patrick Williamsc124f4f2015-09-15 14:41:29 -05008
Andrew Geissler82c905d2020-04-13 13:39:40 -05009TEXDEP = "${@bb.utils.contains('DISTRO_FEATURES', 'api-documentation', 'texinfo-replacement-native', 'texinfo-dummy-native', d)}"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050010TEXDEP_class-native = "texinfo-dummy-native"
11TEXDEP_class-cross = "texinfo-dummy-native"
Andrew Geissler82c905d2020-04-13 13:39:40 -050012TEXDEP_class-crosssdk = "texinfo-dummy-native"
13TEXDEP_class-cross-canadian = "texinfo-dummy-native"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050014DEPENDS_append = " ${TEXDEP}"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050015
Brad Bishop6e60e8b2018-02-01 10:27:11 -050016# libtool-cross doesn't inherit cross
17TEXDEP_pn-libtool-cross = "texinfo-dummy-native"
Andrew Geissler82c905d2020-04-13 13:39:40 -050018