From 7d30d67b26f0d2408540c7bb820e47ce8815d546 Mon Sep 17 00:00:00 2001 From: Andre Draszik Date: Wed, 21 Oct 2015 23:10:52 +0100 Subject: ref-manual: Updated the allarch class description. Added a patch to include a note from Andre. Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-classes.xml | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) (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 46e7b79e75..cf77068e73 100644 --- a/documentation/ref-manual/ref-classes.xml +++ b/documentation/ref-manual/ref-classes.xml @@ -52,20 +52,22 @@ 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 + Unlike some distro recipes (e.g. Debian), OpenEmbedded recipes + that produce packages that depend on tunings through use of the RDEPENDS - on + and 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). + variables, should never be configured for all architectures + using allarch. + This is the case even if the recipes do not produce + architecture-specific output. + Configuring such recipes for all architectures causes the + do_package_write_* + tasks to have different signatures for the machines with different + tunings. + Additionally, unnecessary rebuilds occur every time an + image for a different MACHINE is built + even when the recipe never changes. -- cgit v1.2.3-54-g00ecf