Commit Graph

75 Commits

Author SHA1 Message Date
Khem Raj
54d46cb693 machine/include/tune-atom.inc: Remove FULL_OPTIMIZATION_pn-gtk+
* Since bitbake.conf has got rid of -fomit-frame-pointer this
  is no longer required

(From OE-Core rev: ba89ba8e02185c7adb92240f119a57e7b21adfa7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-24 12:33:35 +00:00
Richard Purdie
a295a0442e bitbake.conf/tune files: Adjust PACKAGE_EXTEA_ARCHS
There is a problem with the current PACKAGE_EXTRA_ARCHS implementation
since its impossible to control which extra architectures sort higher
than TARGET_ARCH and which sort lower. In the x86 case for example,
TARGET_ARCH might be "i586", i486 should be lower than this and i686 should
be higher. There are also complications where its easy to inject duplicate
entries into the variable.

I tried various versions of this patch and concluded that it was simplest
just to force the tune files to include TARGET_ARCH in the list in the
right place if they're planning to customise it themselves. Other approaches
with appends and prepends just complicated the code for no good reason.

The TARGET_ARCH definitions should also move to the tune files but I'll
leave this for a separate patch.

(From OE-Core rev: d492ebf8b1801da99c679f465be98ce54fd3061a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-23 15:43:47 +00:00
Darren Hart
35260008f4 atom-pc: work around gcc bug for core2
Fixes [YOCTO #853]

Without these added optimization flags, the matchbox-panel (and possibly other)
applications would segfault. This patch applies the changes to all machines
derived from atom-pc.conf.

[Tweaked by RP to apply to gtk+ only]
(From OE-Core rev: 5eb24b1cb57d1e0b43dfc993a635cd2b58d58fcf)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-17 00:18:20 +00:00
Richard Purdie
bd161f7594 tune-atom.inc: Remove duplicate TARGET_ARCH entry to avoid ipk rootfs issues as temp workaround for problems pending a proper fix
(From OE-Core rev: a39610f0ac4c77f225671916610f78a18ff70350)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-15 20:32:28 +00:00
Richard Purdie
e26e8ea364 conf/machine: Use linux-libc-headers instead of linux-libc-headers-yocto
Signed-off-by: Richard  Purdie <richard.purdie@linuxfoundation.org>
2011-02-25 22:43:33 +00:00
Darren Hart
7bae9465f3 zaurus: remove zaurus linux includes
Zaurus support was removed with:

673abd92f9
conf/machine: Drop older machines with no recent updates

which removed both the linux-rp and sharp-flash-header recipes required by the
zaurus includes removed by this patch.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2011-02-21 17:59:39 +00:00
Darren Hart
8734754b3e machine/qemu: Allow for users to override the preferred kernel version
The linux-yocto-rt kernel has been boot tested on qemux86-64. Unlock
the preferred provider for virtual/kernel so it can be selected and
used.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2011-01-20 21:36:58 +00:00
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