Commit Graph

118 Commits

Author SHA1 Message Date
Koen Kooi 38b25eed95 machines: move PACKAGE_EXTRA_ARCHS to tune files
This gets us closer to making including tune-<arch>.inc "just work".
Moving the TARGET_ARCH definitions is something for a follup patch.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-01-10 18:18:43 +00:00
Bruce Ashfield 88d27ef448 qemu: match kernel headers to preferred kernel
As the yocto-kernel advances, the libc headers must also
advance. This commit fixes the SRC_URI and SRCPV to work
properly with the latest linux-yocto kernel. It also switches
the qemu* targets to prefer this libc recipe.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2010-12-23 14:28:21 +00:00
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
Bruce Ashfield 5ae1e2c9e8 mpc8315e-rdb: create machine and tuning configuration
BUGID: 423

Introduce the basic mpc8315e BSP. By default this BSP uses
the basic 603 tuning and soft-float. There are issues with
the e300 tuning and eglibc, and the compiler. Subsequent
commits will further tune this BSP.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2010-10-11 22:57:00 +01: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
Richard Purdie a30f6e968c base.bbclass: Don't inherit siteinfo in base.bbclass [based on an OE patch from Chris Larson] 2010-03-19 18:08:35 +00: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
Joshua Lock 955c7aaf51 qemumips: Add qemumips machine from OE.dev
Site and machine configuration for Mips architecture and
a qemumips target from Openembedded.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-01-06 15:52:16 +00:00
Richard Purdie ebf6159c7b tune-atom.inc: Improve optmisation flags
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-19 22:01:55 +00:00
Mike Turquette db4cd6d67e tune-cortexa8.inc: don't auto-vectorize, remove package overrides, some cleanup
Signed-off-by: Mike Turquette <mturquette@ti.com>
2009-08-26 10:56:53 -05: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
Richard Purdie dc2a130909 tune-xscale.inc: Compile cairo for armv4 to avoid alighment trap issues with double instruction
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5203 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-19 17:32:35 +00:00
Samuel Ortiz db323e31e5 eee901: Initial support
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5167 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-10 15:43:46 +00:00
Richard Purdie 9124b01fcc tune-cortexa1.inc: Rationalise options, at least until gcc support for the others improves
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4880 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-07-18 15:44:32 +00:00
Richard Purdie aafb4d6db1 tune-cortexa8.inc: Remove tree vectorization option for now, it causes too many problems
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4867 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-07-18 08:23:02 +00:00
Richard Purdie 45d0dac16a bitbake.conf/tune.conf: Set BASE_PACKAGE_ARCH and build PACKAGE_ARCH from this
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4857 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-07-17 20:40:34 +00:00
Richard Purdie 39a81a42fd tune-xscale.inc: Compile webkit-gtk for armv4t since there are massive alignment issues with double word instructions with webkit on armv5
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4833 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-07-14 16:19:09 +00:00
Richard Purdie 3bac7a0ab2 tune-cortexa8.inc: Disable -ftree-vectorize option for libxcursor for now
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4617 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-06-10 13:37:58 +00:00
Richard Purdie d2ae519cc3 conf/machine/include: Add tuning .inc files from OE.dev
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4615 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-06-10 11:36:33 +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
Marcin Juszkiewicz 307bc14866 tune-arm1136jf-s.inc: fix arm/thumb switching
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3976 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-03-07 08:38:28 +00:00
Marcin Juszkiewicz c85d492a4b tune-strongarm: rename to tune-strongarm1100 and tune to it (from OE)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3524 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-01-18 12:36:24 +00:00
Marcin Juszkiewicz c46d3fb0c3 tune-armv5te.inc: removed. use tune-arm926ejs.inc instead
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3523 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-01-18 12:35:08 +00:00
Marcin Juszkiewicz a43192d753 removed tosa-2.6.inc and poodle-2.6.inc as Poky do not support them
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3521 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-01-18 12:27:45 +00:00
Marcin Juszkiewicz d89855e7f5 zaurus-2.6: merge OE changes (part3: tune-xscale for PXA machines)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3520 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-01-18 12:25:36 +00:00
Marcin Juszkiewicz 2151dc1199 zaurus-2.6: merge OE changes (part2: installkit changes)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3519 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-01-18 12:22:41 +00:00
Marcin Juszkiewicz e7fba8ed9c zaurus-2.6: merge OE changes (part1: collie related changes)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3518 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-01-18 12:20:38 +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
Marcin Juszkiewicz bb6d77b5a7 tune-arm1136jf-s: switch to use CPU_FEATURES to enable/disable VFP and Thumb support
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3357 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-12-19 12:02:43 +00:00
Marcin Juszkiewicz 994be9eaf4 tune-thumb: switch ARM/Thumb instruction set (from OE)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3356 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-12-19 12:01:17 +00:00
Marcin Juszkiewicz 7256b486f7 zaurus: add KERNEL_IMAGE_MAXSIZE variable used to check kernel image size
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3313 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-12-06 09:40:51 +00:00
Marcin Juszkiewicz 261c8d8c77 tune-arm1136jf-s.inc: optimizations for armv6 devices
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3258 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-27 16:18:46 +00:00
Marcin Juszkiewicz 2b156ce725 zaurus: RRECOMMENDS pcmcia modules for c7x0/akita
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2885 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-10-16 11:47:27 +00:00
Richard Purdie d3685e71ab mx31litekit.conf: Tune for armv5te for now
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2845 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-10-05 21:32:57 +00:00
Richard Purdie 65f6428521 conf/machine: Sync various changes with OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2656 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-09-02 17:00:54 +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 5f17d07b01 zaurus-2.6.inc/linux-rp: Change to machines marking themselves as not wanting kernels included in images
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2598 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-29 19:32:19 +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 6ca61e5a3c zaurus-2.6.inc: Merge in installkit function from OE.dev
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2389 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-08 12:38:56 +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
Richard Purdie 138930befc Bump rootfs sizes to fit sdk images
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2221 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-07-24 16:19:18 +00:00
Marcin Juszkiewicz 750675a8ca machine configs: drop MACHINE_TASK_PROVIDER which is set in bitbake.conf
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1903 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-06-11 07:28:27 +00:00
Marcin Juszkiewicz b6795bdabf qemu machines: do not hardcode ext2 rootfs size
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1895 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-06-08 09:45:00 +00:00
Richard Purdie eff0c4b55a Use favourlzo compression mode for zaurus jffs2 images
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1304 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-03-01 13:23:02 +00:00
Richard Purdie 02aa1079f8 zaurus-clamshell.conf: Fix empty flash space messages on akita by setting eraseblock size correctly
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1209 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-01-27 13:13:23 +00:00
Richard Purdie 6a24673f50 zaurus-clamshell.conf: Clean up flash files from after building final images
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1181 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-01-20 18:54:05 +00:00
Richard Purdie 69861b972d zaurus-clamshell.conf: Output files with jffs2 extensions to fix symbolic link magic
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1151 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-01-16 17:23:34 +00:00
Richard Purdie 1cacbe3d99 machine/qemu: Set image size in common file
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1132 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-01-08 23:57:52 +00:00
Richard Purdie 10b9b4aa9d tune-arm926ejs.conf: Change default to that foc gcc4
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1131 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-01-08 23:57:16 +00:00
Richard Purdie 72db1befba Rename linux-openzaurus to linux-rp
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@977 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-29 12:17:00 +00:00
Richard Purdie 0d3763a75e zaurus-2.6.conf: Mark machines as supporting bluetooth
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@974 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-29 10:49:24 +00:00
Richard Purdie 05981416ff conf/machine: Remove stale unused files
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@893 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-20 17:25:38 +00:00
Richard Purdie 4398b980ba conf: Sync with OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@892 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-20 17:13:43 +00:00
Richard Purdie 514ab79d13 clean up some unneeded references/variables
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@732 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-09-21 11:51:48 +00:00
Chris Larson 4fa2d11bb1 Sync up.. all the deb/dpkg changes which I have locally are now in svn.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@728 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-09-19 09:04:09 +00:00
Richard Purdie 57a3f74e90 Add tune-iwmmxt (use to enable wireless extenion optimisations)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@659 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-08-27 22:08:09 +00:00
Richard Purdie 2a01021aaf Sync conf files with OE (and add iwmmxt arch to capable machines)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@654 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-08-27 21:55:03 +00:00
Richard Purdie 06a16339a3 qemu: Generate ext2 images as well as bz2 tarballs
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@653 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-08-27 21:53:32 +00:00
Chris Larson 45b048283c x86:
* Add qemux86 machine.
* Glibc 2.4 updates from upstream OE.
* Add linux-x86 kernel to satisfy the deps.



git-svn-id: https://svn.o-hand.com/repos/poky/trunk@616 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-08-18 09:31:38 +00:00
Richard Purdie f14be9a582 nokia770.conf, ipaq-pxa270.conf: Update after task-machine changes
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@570 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-07-28 08:27:01 +00:00
Richard Purdie 4952c7e0fe Totally rework task handling for machine/distro specific features. Create task-base.bb to handle this and update machine/distro files accordingly. MACHINE_FEATURES and DISTRO_FEATURES together combine to configure the machine specific task-base and other specific tasks can easily be created (task-base-oh-minimal is an exmaple)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@562 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-07-26 22:22:44 +00:00
Richard Purdie f059afd07b zaurus-clamshell: Add working JFFS2 summary image support
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@560 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-07-26 22:14:35 +00:00
Richard Purdie b2f192faab Rename /openembedded/ -> /meta/
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-07-21 10:10:31 +00:00