diff --git a/documentation/ref-manual/ref-classes.xml b/documentation/ref-manual/ref-classes.xml index e3268a01f3..eb3e2718a7 100644 --- a/documentation/ref-manual/ref-classes.xml +++ b/documentation/ref-manual/ref-classes.xml @@ -51,6 +51,22 @@ that produce executable binaries (such as building the cross-compiler and a C library as pre-requisites, and splitting out of debug symbols during packaging). + + Unlike e.g. Debian, OpenEmbedded recipes that produce packages + which + RDEPENDS + on + TUNE_PKGARCH + packages should never be made allarch, even + if they do not produce architecture-specific output. This would + cause the do_package_write_* tasks to have different signatures + for + MACHINEs + with different + TUNE_PKGARCH, + thus unnecessary rebuilds every single time an image for a different + MACHINE is built (even without any change to the recipe). +