diff options
author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2010-11-18 16:09:02 -0500 |
---|---|---|
committer | Saul Wold <Saul.Wold@intel.com> | 2010-12-10 22:01:36 -0800 |
commit | 0e7d9956a0cbe95cfe2919d13fcfcac705c4b104 (patch) | |
tree | faa2b5d6cb6cd2c1f9c27bac44986d88d074c4d8 /meta/recipes-kernel/linux-libc-headers/linux-libc-headers-yocto_git.bb | |
parent | 3ca38b7c104e96716a89b40df797dd3277334fa8 (diff) | |
download | poky-0e7d9956a0cbe95cfe2919d13fcfcac705c4b104.tar.gz |
yocto-kernel: factor common routes, update to 2.6.37 and branch renaming
In order to extend and create more kernel recipes based on the
supported yocto kernel common routines need to be placed in
re-usable blocks.
To accomplish this meta/recipes-kernel/linux/linux-yocto_git.bb
is broken into three parts:
- meta/classes/kernel-yocto.bbclass: contains common routines
for checking out and configuring a yocto kernel git repository.
This should be inherited by recipes that need this functionality.
- meta/recipes-kernel/linux/linux-yocto.inc: Contains the machine
mappings, compatibility, build directives and common task
definitions for a yocto kernel based recipe. This inherits
kernel-yocto, and is the typical point of entry for other recipes.
- meta/recipes-kernel/linux/linuux-tools.inc: tasks and function definitions
for kernel recipes that want to build/export perf
It also updates the linux-yocto recipe to default to 2.6.37.
As part of the update to 2.6.37 the branch naming and conventions
have been modified to show inheritance, and be more generic.
For example:
master
meta
yocto/base
yocto/standard/arm_versatile_926ejs
yocto/standard/base
yocto/standard/beagleboard
yocto/standard/common_pc/atom-pc
yocto/standard/common_pc/base
yocto/standard/common_pc_64
yocto/standard/fsl-mpc8315e-rdb
yocto/standard/intel_atom_z530
yocto/standard/intel_core_qm57_pch
yocto/standard/mti_malta32_be
yocto/standard/preempt_rt/base
yocto/standard/preempt_rt/common_pc
yocto/standard/preempt_rt/common_pc_64
yocto/standard/preempt_rt/intel_atom_z530
yocto/standard/preempt_rt/intel_core_qm57_pch
yocto/standard/qemu_ppc32
yocto/standard/routerstationpro
In this structure:
master: tracks the mainline kernel
meta: meta information for the BSPs and kernel features
yocto/base: baseline kernel branch
yocto/standard/base: 'standard' kernel, contains features
and configs for all BSPs
yocto/standard/<machine>: represents a BSP with specific
features or configurations
The tools, tree and libc-headers have all been updated to
deal with this new structure. Also in addition to dealing with
the new structure, they continue to work with the existing
tree and will adapt at runtime to the differences.
The linux-yocto-stable_git.bb recipe continues to build the
2.6.34 based tree,and linux-yocto_git.bb builds 2.6.37. As
boards are enabled for the new kernel they will move from
-stable to the development kernel. As of now, only the
emulated targets have moved to 2.6.37-rcX
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta/recipes-kernel/linux-libc-headers/linux-libc-headers-yocto_git.bb')
-rw-r--r-- | meta/recipes-kernel/linux-libc-headers/linux-libc-headers-yocto_git.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers-yocto_git.bb b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers-yocto_git.bb index 6ae6d5f642..3e3c1fa9ba 100644 --- a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers-yocto_git.bb +++ b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers-yocto_git.bb | |||
@@ -4,7 +4,7 @@ INHIBIT_DEFAULT_DEPS = "1" | |||
4 | DEPENDS += "unifdef-native" | 4 | DEPENDS += "unifdef-native" |
5 | PROVIDES = "linux-libc-headers" | 5 | PROVIDES = "linux-libc-headers" |
6 | PV = "2.6.34+git-${SRCPV}" | 6 | PV = "2.6.34+git-${SRCPV}" |
7 | PR = "r0" | 7 | PR = "r1" |
8 | 8 | ||
9 | SRC_URI = "git://git.pokylinux.org/linux-2.6-windriver.git;fullclone=1" | 9 | SRC_URI = "git://git.pokylinux.org/linux-2.6-windriver.git;fullclone=1" |
10 | 10 | ||
@@ -45,7 +45,7 @@ do_compile () { | |||
45 | 45 | ||
46 | do_install() { | 46 | do_install() { |
47 | set_arch | 47 | set_arch |
48 | oe_runmake headers_install_all INSTALL_HDR_PATH=${D}${exec_prefix} ARCH=$ARCH | 48 | oe_runmake headers_install INSTALL_HDR_PATH=${D}${exec_prefix} ARCH=$ARCH |
49 | } | 49 | } |
50 | 50 | ||
51 | BBCLASSEXTEND = "nativesdk" | 51 | BBCLASSEXTEND = "nativesdk" |