diff options
| author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2015-03-06 10:50:56 -0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-03-10 11:08:35 +0000 |
| commit | 78cecf7a20580e75306b1f80474e6d6b5a909606 (patch) | |
| tree | 7cb17973b4acdf5a9066f2b3299554fd426b2b39 | |
| parent | 947cc83436d01d629f703492f93d7870606d6ca4 (diff) | |
| download | poky-78cecf7a20580e75306b1f80474e6d6b5a909606.tar.gz | |
kernel-dev: Updates to the "Using Kernel Metadata in a Recipe" section.
Changed out the example to use some bits from the meta-xilinx layer
instead of the emenlow layer.
Reported-by: Robert P. J. Day <crashcourse.ca>
(From yocto-docs rev: 477c62877f5882538176d0f9c8a10fc4cf878628)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | documentation/kernel-dev/kernel-dev-advanced.xml | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/documentation/kernel-dev/kernel-dev-advanced.xml b/documentation/kernel-dev/kernel-dev-advanced.xml index dc5d9ba3dd..1b19f74073 100644 --- a/documentation/kernel-dev/kernel-dev-advanced.xml +++ b/documentation/kernel-dev/kernel-dev-advanced.xml | |||
| @@ -48,14 +48,18 @@ | |||
| 48 | This variable is typically set to the same value as the | 48 | This variable is typically set to the same value as the |
| 49 | <ulink url='&YOCTO_DOCS_REF_URL;#var-MACHINE'><filename>MACHINE</filename></ulink> | 49 | <ulink url='&YOCTO_DOCS_REF_URL;#var-MACHINE'><filename>MACHINE</filename></ulink> |
| 50 | variable, which is used by | 50 | variable, which is used by |
| 51 | <ulink url='&YOCTO_DOCS_DEV_URL;#bitbake-term'>BitBake</ulink> | 51 | <ulink url='&YOCTO_DOCS_DEV_URL;#bitbake-term'>BitBake</ulink>. |
| 52 | (e.g. "edgerouter" or "emenlow"). | 52 | However, in some cases, the variable might instead refer to the |
| 53 | underlying platform of the <filename>MACHINE</filename>. | ||
| 54 | </para> | ||
| 55 | |||
| 56 | <para> | ||
| 53 | Multiple BSPs can reuse the same <filename>KMACHINE</filename> | 57 | Multiple BSPs can reuse the same <filename>KMACHINE</filename> |
| 54 | name if they are built using the same BSP description. | 58 | name if they are built using the same BSP description. |
| 55 | The "emenlow" and "emenlow-noemgd" BSP combination | 59 | The "ep108-zynqmp" and "qemuzynqmp" BSP combination |
| 56 | in the <filename>meta-intel</filename> | 60 | in the <filename>meta-xilinx</filename> |
| 57 | layer is a good example of two BSPs using the same | 61 | layer is a good example of two BSPs using the same |
| 58 | <filename>KMACHINE</filename> value (i.e. "emenlow"). | 62 | <filename>KMACHINE</filename> value (i.e. "zynqmp"). |
| 59 | See the <link linkend='bsp-descriptions'>BSP Descriptions</link> section | 63 | See the <link linkend='bsp-descriptions'>BSP Descriptions</link> section |
| 60 | for more information. | 64 | for more information. |
| 61 | </para> | 65 | </para> |
| @@ -67,9 +71,10 @@ | |||
| 67 | variable must be set to indicate the branch. | 71 | variable must be set to indicate the branch. |
| 68 | <note> | 72 | <note> |
| 69 | You can use the <filename>KBRANCH</filename> value to define an | 73 | You can use the <filename>KBRANCH</filename> value to define an |
| 70 | alternate branch typically with a machine override as follows: | 74 | alternate branch typically with a machine override as shown here |
| 75 | from the <filename>meta-emenlow</filename> layer: | ||
| 71 | <literallayout class='monospaced'> | 76 | <literallayout class='monospaced'> |
| 72 | KBRANCH_emenlow ?= "standard/emenlow" | 77 | KBRANCH_emenlow-noemgd = "standard/base" |
| 73 | </literallayout> | 78 | </literallayout> |
| 74 | </note> | 79 | </note> |
| 75 | </para> | 80 | </para> |
