diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2010-12-17 16:53:59 -0800 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-12-21 12:49:46 +0000 |
commit | 94f7dd262985b40a6927ea2ed4818307fd9127ab (patch) | |
tree | 96c9c7f11ec0cb9770366e184abe5459c59f9de3 /documentation/bsp-guide | |
parent | 1d671c41df95be586df0386b3041a68d0e8ae8b4 (diff) | |
download | poky-94f7dd262985b40a6927ea2ed4818307fd9127ab.tar.gz |
documentation/bsp-guide/bsp.xml: Updated Linux Kernel Configuration section.
Another round of feedback from Tom Z applied.
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Diffstat (limited to 'documentation/bsp-guide')
-rw-r--r-- | documentation/bsp-guide/bsp.xml | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/documentation/bsp-guide/bsp.xml b/documentation/bsp-guide/bsp.xml index 7909bb5ba0..e2c9487452 100644 --- a/documentation/bsp-guide/bsp.xml +++ b/documentation/bsp-guide/bsp.xml | |||
@@ -315,7 +315,7 @@ meta-crownbay/recipes-graphics/xorg-xserver/xserver-xf86-emgd_1.7.99.2.bb | |||
315 | <section id='bsp-filelayout-kernel'> | 315 | <section id='bsp-filelayout-kernel'> |
316 | <title>Linux Kernel Configuration</title> | 316 | <title>Linux Kernel Configuration</title> |
317 | <programlisting> | 317 | <programlisting> |
318 | meta-<bsp_name>/recipes-kernel/linux/linux-wrs_git.bbappend | 318 | meta-<bsp_name>/recipes-kernel/linux/linux-yocto-stable.bbappend |
319 | </programlisting> | 319 | </programlisting> |
320 | 320 | ||
321 | <para> | 321 | <para> |
@@ -330,21 +330,26 @@ meta-<bsp_name>/recipes-kernel/linux/linux-wrs_git.bbappend | |||
330 | directory. | 330 | directory. |
331 | </para> | 331 | </para> |
332 | <para> | 332 | <para> |
333 | Consider a BSP that uses the <filename>linux-yocto-stable_git.bb</filename> kernel, | 333 | Supppose you use a BSP that uses the <filename>linux-yocto-stable_git.bb</filename> kernel, |
334 | which is the preferred kernel to use for developing a new BSP using the Yocto Project. | 334 | which is the preferred kernel to use for developing a new BSP using the Yocto Project. |
335 | In other words, you have selected the kernel in your | ||
336 | <filename><bsp_name>.conf</filename> file by adding the following statement: | ||
337 | <programlisting> | ||
338 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto-stable" | ||
339 | </programlisting> | ||
335 | You would use the <filename>linux-yocto-stable_git.bbappend</filename> file to append | 340 | You would use the <filename>linux-yocto-stable_git.bbappend</filename> file to append |
336 | specific BSP settings to the kernel, thus configuring the kernel for your particular BSP. | 341 | specific BSP settings to the kernel, thus configuring the kernel for your particular BSP. |
337 | </para> | 342 | </para> |
338 | <para> | 343 | <para> |
339 | Consider an example for the existing "crownbay" BSP. | 344 | Now take a look at the existing "crownbay" BSP. |
340 | The append file used for the "crownbay" BSP is: | 345 | The append file used is: |
341 | <programlisting> | 346 | <programlisting> |
342 | meta-crownbay/recipes-kernel/linux/linux-yocto-stable_git.bbappend | 347 | meta-crownbay/recipes-kernel/linux/linux-yocto-stable_git.bbappend |
343 | </programlisting> | 348 | </programlisting> |
344 | The file contains the following: | 349 | The file contains the following: |
345 | <programlisting> | 350 | <programlisting> |
346 | FILESEXTRAPATHS := "${THISDIR}/${PN}" | 351 | FILESEXTRAPATHS := "${THISDIR}/${PN}" |
347 | COMPATIBLE_MACHINE_crownbay = "cronwbay" | 352 | COMPATIBLE_MACHINE_crownbay = "crownbay" |
348 | KMACHINE_crownbay = "crownbay" | 353 | KMACHINE_crownbay = "crownbay" |
349 | </programlisting> | 354 | </programlisting> |
350 | This append file adds "crownbay" as a compatible machine, | 355 | This append file adds "crownbay" as a compatible machine, |
@@ -366,7 +371,7 @@ KMACHINE_crownbay = "crownbay" | |||
366 | For example, suppose you had a set of configuration options in a file called | 371 | For example, suppose you had a set of configuration options in a file called |
367 | <filename>defonfig</filename>. | 372 | <filename>defonfig</filename>. |
368 | If you put that file inside a directory named | 373 | If you put that file inside a directory named |
369 | <filename class='directory'>/linux-yocto-stable_git</filename> and then added | 374 | <filename class='directory'>/linux-yocto-stable</filename> and then added |
370 | a SRC_URI statement such as the following to the append file, those configuration | 375 | a SRC_URI statement such as the following to the append file, those configuration |
371 | options will be picked up and applied when the kernel is built. | 376 | options will be picked up and applied when the kernel is built. |
372 | <programlisting> | 377 | <programlisting> |