From 46f86497d5cc0515266dd49db42861f1c9882b6d Mon Sep 17 00:00:00 2001 From: André Draszik Date: Tue, 28 Jul 2015 09:07:39 +0100 Subject: ref-manual: clarify allarch wrt RDPENDS and TUNE_PKGARCH MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See e.g. http://permalink.gmane.org/gmane.comp.handhelds.openembedded/64067 (From yocto-docs rev: 5ad5f90edc5aefc95049f36afa2792dd7a9fba3d) Signed-off-by: André Draszik Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-classes.xml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'documentation/ref-manual/ref-classes.xml') 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). + -- cgit v1.2.3-54-g00ecf