diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2014-11-21 10:14:52 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-12-09 15:09:06 +0000 |
commit | 6a57cb10b7ff63884abc6c2b4301d48f29514119 (patch) | |
tree | 51f615b6fef64693d7d78f072d85f7c5944c364d /documentation/dev-manual/dev-manual-common-tasks.xml | |
parent | 117c9b4a64a4c490b353e31567d0a593bac98a3f (diff) | |
download | poky-6a57cb10b7ff63884abc6c2b4301d48f29514119.tar.gz |
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 <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/dev-manual/dev-manual-common-tasks.xml')
-rw-r--r-- | documentation/dev-manual/dev-manual-common-tasks.xml | 22 |
1 files changed, 17 insertions, 5 deletions
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</ulink>"</emphasis> | |||
6061 | architecture through the | 6061 | architecture through the |
6062 | <ulink url='&YOCTO_DOCS_REF_URL;#var-PACKAGE_ARCH'><filename>PACKAGE_ARCH</filename></ulink>, | 6062 | <ulink url='&YOCTO_DOCS_REF_URL;#var-PACKAGE_ARCH'><filename>PACKAGE_ARCH</filename></ulink>, |
6063 | The OpenEmbedded build system defaults to the | 6063 | The OpenEmbedded build system defaults to the |
6064 | <ulink url='&YOCTO_DOCS_REF_URL;#var-TUNE_ARCH'><filename>TUNE_ARCH</filename></ulink> | 6064 | <ulink url='&YOCTO_DOCS_REF_URL;#var-TUNE_PKGARCH'><filename>TUNE_PKGARCH</filename></ulink> |
6065 | setting: | 6065 | setting: |
6066 | <literallayout class='monospaced'> | 6066 | <literallayout class='monospaced'> |
6067 | PACKAGE_ARCH = "${TUNE_ARCH}" | 6067 | PACKAGE_ARCH = "${TUNE_PKGARCH}" |
6068 | </literallayout> | 6068 | </literallayout> |
6069 | </para></listitem> | 6069 | </para></listitem> |
6070 | <listitem><para><emphasis>Choose a Generic Tuning File if Possible:</emphasis> | 6070 | <listitem><para><emphasis>Choose a Generic Tuning File if Possible:</emphasis> |
@@ -6117,12 +6117,24 @@ Gateways via their Web Interfaces</ulink>"</emphasis> | |||
6117 | using shared state between machines when you think it | 6117 | using shared state between machines when you think it |
6118 | should be. | 6118 | should be. |
6119 | These types of situations are usually due to references | 6119 | These types of situations are usually due to references |
6120 | to variables such as <filename>MACHINE</filename> | 6120 | to machine-specific variables such as |
6121 | in code that is supposed to only be "tune" specific.</para> | 6121 | <ulink url='&YOCTO_DOCS_REF_URL;#var-MACHINE'><filename>MACHINE</filename></ulink>, |
6122 | <ulink url='&YOCTO_DOCS_REF_URL;#var-SERIAL_CONSOLE'><filename>SERIAL_CONSOLE</filename></ulink>, | ||
6123 | <ulink url='&YOCTO_DOCS_REF_URL;#var-XSERVER'><filename>XSERVER</filename></ulink>, | ||
6124 | <ulink url='&YOCTO_DOCS_REF_URL;#var-MACHINE_FEATURES'><filename>MACHINE_FEATURES</filename></ulink>, | ||
6125 | and so forth in code that is supposed to only be | ||
6126 | tune-specific or when the recipe depends | ||
6127 | (<ulink url='&YOCTO_DOCS_REF_URL;#var-DEPENDS'><filename>DEPENDS</filename></ulink>, | ||
6128 | <ulink url='&YOCTO_DOCS_REF_URL;#var-RDEPENDS'><filename>RDEPENDS</filename></ulink>, | ||
6129 | <ulink url='&YOCTO_DOCS_REF_URL;#var-RRECOMMENDS'><filename>RRECOMMENDS</filename></ulink>, | ||
6130 | <ulink url='&YOCTO_DOCS_REF_URL;#var-RSUGGESTS'><filename>RSUGGESTS</filename></ulink>, | ||
6131 | and so forth) on some other recipe that already has | ||
6132 | <ulink url='&YOCTO_DOCS_REF_URL;#var-PACKAGE_ARCH'><filename>PACKAGE_ARCH</filename></ulink> | ||
6133 | defined as "${MACHINE_ARCH}". | ||
6122 | <note> | 6134 | <note> |
6123 | Patches to fix any issues identified are most welcome | 6135 | Patches to fix any issues identified are most welcome |
6124 | as these issues occasionally do occur. | 6136 | as these issues occasionally do occur. |
6125 | </note> | 6137 | </note></para> |
6126 | <para>For such cases, you can use some tools to help you | 6138 | <para>For such cases, you can use some tools to help you |
6127 | sort out the situation: | 6139 | sort out the situation: |
6128 | <itemizedlist> | 6140 | <itemizedlist> |