summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual/ref-classes.xml
diff options
context:
space:
mode:
authorAndré Draszik <git@andred.net>2015-07-28 09:07:39 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-28 13:59:09 +0100
commit46f86497d5cc0515266dd49db42861f1c9882b6d (patch)
tree08ae2fd021e54e489a6531a5928068b89fab8c43 /documentation/ref-manual/ref-classes.xml
parenta894da0dfe45c2ffe658102f58f706a125776332 (diff)
downloadpoky-46f86497d5cc0515266dd49db42861f1c9882b6d.tar.gz
ref-manual: clarify allarch wrt RDPENDS and TUNE_PKGARCH
See e.g. http://permalink.gmane.org/gmane.comp.handhelds.openembedded/64067 (From yocto-docs rev: 5ad5f90edc5aefc95049f36afa2792dd7a9fba3d) Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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>