summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual/ref-classes.xml
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/ref-manual/ref-classes.xml')
-rw-r--r--documentation/ref-manual/ref-classes.xml16
1 files changed, 16 insertions, 0 deletions
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 @@
51 that produce executable binaries (such as building the cross-compiler 51 that produce executable binaries (such as building the cross-compiler
52 and a C library as pre-requisites, and splitting out of debug symbols 52 and a C library as pre-requisites, and splitting out of debug symbols
53 during packaging). 53 during packaging).
54 <note>
55 Unlike e.g. Debian, OpenEmbedded recipes that produce packages
56 which
57 <link linkend='var-RDEPENDS'><filename>RDEPENDS</filename></link>
58 on
59 <link linkend='var-TUNE_PKGARCH'><filename>TUNE_PKGARCH</filename></link>
60 packages should never be made <filename>allarch</filename>, even
61 if they do not produce architecture-specific output. This would
62 cause the do_package_write_* tasks to have different signatures
63 for
64 <link linkend='var-MACHINE'><filename>MACHINE</filename></link>s
65 with different
66 <link linkend='var-TUNE_PKGARCH'><filename>TUNE_PKGARCH</filename></link>,
67 thus unnecessary rebuilds every single time an image for a different
68 MACHINE is built (even without any change to the recipe).
69 </note>
54 </para> 70 </para>
55 71
56 <para> 72 <para>