diff options
Diffstat (limited to 'documentation/bsp-guide/bsp.xml')
-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> |