From 94f7dd262985b40a6927ea2ed4818307fd9127ab Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Fri, 17 Dec 2010 16:53:59 -0800 Subject: documentation/bsp-guide/bsp.xml: Updated Linux Kernel Configuration section. Another round of feedback from Tom Z applied. Signed-off-by: Scott Rifenbark --- documentation/bsp-guide/bsp.xml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'documentation') 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
Linux Kernel Configuration -meta-<bsp_name>/recipes-kernel/linux/linux-wrs_git.bbappend +meta-<bsp_name>/recipes-kernel/linux/linux-yocto-stable.bbappend @@ -330,21 +330,26 @@ meta-<bsp_name>/recipes-kernel/linux/linux-wrs_git.bbappend directory. - Consider a BSP that uses the linux-yocto-stable_git.bb kernel, + Supppose you use a BSP that uses the linux-yocto-stable_git.bb kernel, which is the preferred kernel to use for developing a new BSP using the Yocto Project. + In other words, you have selected the kernel in your + <bsp_name>.conf file by adding the following statement: + +PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto-stable" + You would use the linux-yocto-stable_git.bbappend file to append specific BSP settings to the kernel, thus configuring the kernel for your particular BSP. - Consider an example for the existing "crownbay" BSP. - The append file used for the "crownbay" BSP is: + Now take a look at the existing "crownbay" BSP. + The append file used is: meta-crownbay/recipes-kernel/linux/linux-yocto-stable_git.bbappend The file contains the following: FILESEXTRAPATHS := "${THISDIR}/${PN}" -COMPATIBLE_MACHINE_crownbay = "cronwbay" +COMPATIBLE_MACHINE_crownbay = "crownbay" KMACHINE_crownbay = "crownbay" This append file adds "crownbay" as a compatible machine, @@ -366,7 +371,7 @@ KMACHINE_crownbay = "crownbay" For example, suppose you had a set of configuration options in a file called defonfig. If you put that file inside a directory named - /linux-yocto-stable_git and then added + /linux-yocto-stable and then added a SRC_URI statement such as the following to the append file, those configuration options will be picked up and applied when the kernel is built. -- cgit v1.2.3-54-g00ecf