From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mx1.pokylinux.org (Postfix) with ESMTP id 2E81E4C811EA for ; Mon, 20 Dec 2010 14:24:02 -0600 (CST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP; 20 Dec 2010 12:23:58 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.60,203,1291622400"; d="scan'208";a="585536785" Received: from scottrif-desktop.jf.intel.com (HELO localhost) ([10.7.201.54]) by orsmga002.jf.intel.com with ESMTP; 20 Dec 2010 12:23:58 -0800 Message-Id: <7cd6a5973905dcd959821d218f091401d7e66f72.1292876262.git.scott.m.rifenbark@intel.com> In-Reply-To: References: From: Scott Rifenbark Date: Fri, 17 Dec 2010 16:53:59 -0800 To: poky@yoctoproject.org CC: Subject: [PATCH 28/29] documentation/bsp-guide/bsp.xml: Updated Linux Kernel Configuration section. X-BeenThere: poky@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Poky build system developer discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Dec 2010 20:24:02 -0000 Another round of feedback from Tom Z applied. Signed-off-by: Scott Rifenbark --- 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 7909bb5..e2c9487 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. -- 1.7.0.4