From 6a57cb10b7ff63884abc6c2b4301d48f29514119 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Fri, 21 Nov 2014 10:14:52 -0600 Subject: dev-manual: Added more info to mulit-machine builds section. Fixes [YOCTO #5400] Per Martin Jansa, added some information in the bullet item that talks about the tools and the cases that can cause issues when tuning things by machine or architecture. (From yocto-docs rev: e8e47828df65abdc18bbd681c47719a7df77b00f) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- .../dev-manual/dev-manual-common-tasks.xml | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) (limited to 'documentation/dev-manual') diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index 664b2943c3..b894355433 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml @@ -6061,10 +6061,10 @@ Gateways via their Web Interfaces" architecture through the PACKAGE_ARCH, The OpenEmbedded build system defaults to the - TUNE_ARCH + TUNE_PKGARCH setting: - PACKAGE_ARCH = "${TUNE_ARCH}" + PACKAGE_ARCH = "${TUNE_PKGARCH}" Choose a Generic Tuning File if Possible: @@ -6117,12 +6117,24 @@ Gateways via their Web Interfaces" using shared state between machines when you think it should be. These types of situations are usually due to references - to variables such as MACHINE - in code that is supposed to only be "tune" specific. + to machine-specific variables such as + MACHINE, + SERIAL_CONSOLE, + XSERVER, + MACHINE_FEATURES, + and so forth in code that is supposed to only be + tune-specific or when the recipe depends + (DEPENDS, + RDEPENDS, + RRECOMMENDS, + RSUGGESTS, + and so forth) on some other recipe that already has + PACKAGE_ARCH + defined as "${MACHINE_ARCH}". Patches to fix any issues identified are most welcome as these issues occasionally do occur. - + For such cases, you can use some tools to help you sort out the situation: -- cgit v1.2.3-54-g00ecf