diff options
| -rw-r--r-- | meta/classes/texinfo.bbclass | 15 | ||||
| -rw-r--r-- | meta/conf/bitbake.conf | 1 |
2 files changed, 15 insertions, 1 deletions
diff --git a/meta/classes/texinfo.bbclass b/meta/classes/texinfo.bbclass index 60cba0f81d..92efbccddf 100644 --- a/meta/classes/texinfo.bbclass +++ b/meta/classes/texinfo.bbclass | |||
| @@ -1,2 +1,15 @@ | |||
| 1 | # This class is inherited by recipes whose upstream packages invoke the | 1 | # This class is inherited by recipes whose upstream packages invoke the |
| 2 | # texinfo utilities at build-time. This class currently does nothing. | 2 | # texinfo utilities at build-time. Native and cross recipes are made to use the |
| 3 | # dummy scripts provided by texinfo-dummy-native, for improved performance. | ||
| 4 | # Target architecture recipes use the genuine Texinfo utilities. By default, | ||
| 5 | # they use the Texinfo utilities on the host system. If you want to use the | ||
| 6 | # Texinfo recipe shipped with yoco, you can remove texinfo-native from | ||
| 7 | # ASSUME_PROVIDED and makeinfo from SANITY_REQUIRED_UTILITIES. | ||
| 8 | |||
| 9 | TEXDEP = "texinfo-native" | ||
| 10 | TEXDEP_class-native = "texinfo-dummy-native" | ||
| 11 | TEXDEP_class-cross = "texinfo-dummy-native" | ||
| 12 | DEPENDS_append = " ${TEXDEP}" | ||
| 13 | PATH_prepend_class-native = "${STAGING_BINDIR_NATIVE}/texinfo-dummy-native:" | ||
| 14 | PATH_prepend_class-cross = "${STAGING_BINDIR_NATIVE}/texinfo-dummy-native:" | ||
| 15 | |||
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 1d70d3c9dd..cd6f94004e 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
| @@ -181,6 +181,7 @@ ASSUME_PROVIDED = "\ | |||
| 181 | python-native-runtime \ | 181 | python-native-runtime \ |
| 182 | tar-native \ | 182 | tar-native \ |
| 183 | virtual/libintl-native \ | 183 | virtual/libintl-native \ |
| 184 | texinfo-native\ | ||
| 184 | " | 185 | " |
| 185 | # gzip-native should be listed above? | 186 | # gzip-native should be listed above? |
| 186 | 187 | ||
