Commit Graph

14 Commits

Author SHA1 Message Date
Bruce Ashfield 0e7d9956a0 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>
2010-12-10 22:01:36 -08:00
Bruce Ashfield c70816cb90 linux-wrs: rename to linux-yocto
The existing preferred yocto kernel wasn't named appropriately
and needs to be updated.

In keeping the changes small and isolated, this commit simply
renames the recipe and some internal variables. Future commits
will refactor the code into more usable blocks.

Now that linuy-wrs has been renamed linux-yocto, we need
to rename and update an board configurations and append
files.

Now that linux-wrs has been renamed linux-yocto, we need to
update the SRCREVs to have the new name.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2010-11-18 13:30:22 -08:00
Joshua Lock 196f6f2d20 qemu.inc: ensure helper programs are built when building for qemu machines
QEMU machine images are useless without qemu-native and qemu-helper-native

Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-08-25 11:15:16 +01:00
Bruce Ashfield 9ee1fbb720 qemu machines: Switch to use linux-wrs
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2010-07-19 11:59:51 -04:00
Joshua Lock 53d98d76fd Move all QEMU machines to use a common kernel recipe set and version
The different kernel recipes encapsulate functionality groups for machines,
therefore it makes sense to have all the QEMU machines using the same kernel
recipe.

Switch the QEMU machines to default to the "linux" recipes for their kernel
and bump the latest recipe from linux-2.6.32 to 2.6.33.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-05-18 14:22:27 +01:00
Joshua Lock bf422fcfff qemux86: fix setting of preferred provider for virtual/xserver
Change the virtual/xserver preferred provider in qemu.inc to a soft assign and
set preferred provider in qemux86 before the require so that the value is retained.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-02-10 14:34:15 +00:00
Richard Purdie 4340e3e974 qemu.inc: Set xserver preferred provider correctly
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-27 11:52:32 +00:00
Richard Purdie 4ba6a52d7e qemu.inc: Use ext3 images for qemu, not ext2 ones 2008-11-05 23:15:13 +00:00
Marcin Juszkiewicz 2c002e3a86 qemu targets: added IMAGE_ROOTFS_SIZE for ext3 filesystems
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5268 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-25 14:09:07 +00:00
Marcin Juszkiewicz 0e82382c5b qemu machines: enlarge rootfs to 280M
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3980 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-03-07 12:25:30 +00:00
Ross Burton 666535e42f qemu.inc: increase the size of the rootfs, so there is some slack
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3431 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-01-08 15:57:14 +00:00
Richard Purdie e2b7975aa9 conf/machine: Set KERNEL_IMAGE_TYPE and kernel-base RDEPENDS for various machines
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2599 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-29 19:36:40 +00:00
Richard Purdie 363d68a1f8 qemu.inc: Increase qemu image size
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2514 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-20 09:43:36 +00:00
Richard Purdie 303cbeeea2 conf/machine/include: Rename to .conf to .inc files
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2388 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-08 12:37:40 +00:00