summaryrefslogtreecommitdiff
path: root/meta/conf/machine
AgeCommit message (Collapse)AuthorFiles
2011-09-28tune-i586: fix hardcoded TUNE_PKGARCHDongxiao Xu1
Use TUNE_FEATURES to determine the setting to TUNE_PKGARCH, which fixes the wrong setting of PACKAGE_ARCH in multilib case. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-28tune-cortexa9.inc: add tunefile for cortexa9 socsHenning Heinold1
Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-24mips32: add mips32el tuningPhil Blundell1
This makes building for little-endian mips32 slightly more convenient. Signed-off-by: Phil Blundell <philb@gnu.org>
2011-08-23tune: Add hard floating point variants of cortexa8 tunesDarren Hart1
Enable machines or distros to select the hard floating point abi for cortexa8 machines. I left out the arm7a thumb+neon combinations as they were not present in the original non-hf set. Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Jason Kridner <jkridner@beagleboard.org> CC: Koen Kooi <koen@dominion.thruhere.net>
2011-08-22tune: add missing closing quote to arch-armv7a.inc for AVAILTUNESDarren Hart1
A closing quote was missing for an AVAILTUNES append operation, add it. Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Jason Kridner <jkridner@beagleboard.org> CC: Koen Kooi <koen@dominion.thruhere.net>
2011-08-16qemu: change default kernel to 3.0.xBruce Ashfield1
The explicit setting of version preference to 2.6.37 is no longer required. All of the qemu targets have been built and boot tested on 3.0.1 for core-image-minimal and core-image-sato and are safe for wider build/boot testing. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2011-08-12tune-ppce5500: Add a set of tune files for PowerPC e5500 coreKumar Gala2
The PPC e5500 is a 64-bit core so we add both a 32 and 64-bit set of tune files to allow for: * pure 32-bit build * pure 64-bit build * 32-bit base, 64-bit multilib * 64-bit base, 32-bit multilib Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2011-08-12tune-ppc: Update to pass glibc configure option to get cpu specific supportKumar Gala2
We need --with-cpu based to glibc to get proper support on 603e & e500mc to pickup proper math libs to deal with sqrt. These core do not implement the fsqrt[s] instructions that the normal PPC math libs utilize. This causes use to not set AVAILTUNES specifically to the sub-arch only as we arent generically compatiable. Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-10tune-x86-64: Fix DEFAULTTUNE order so weak default to overrides the ↵Richard Purdie1
arch-ia32 version Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-08x86 tune inc files: add x32 abi tune parametersNitin A Kamble3
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2011-08-05machine/include/arm/feature-arm-thumb: Allow thumb to be disabledRichard Purdie1
The previous commit to this file meant thumb was always being turned on even when TUNE_FEATURES did not contain "thumb". This is clearly wrong and this patch corrects this so thumb options are no longer specified in that case. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-05tune/arch-powerpc64: include arch-powerpc.inc to keep things in syncKumar Gala1
Added a DEFAULTTUNE setting and included arch-powerpc.inc. This way we pick up the changes to TUNE_PKGARCH and things should be kept more in sync going forward. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2011-08-03bitbake.conf/qemux86-64: Automate TRANSLATED_TARGET_ARCHRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-02tune/ppc: Fix various TUNE_PKGARCH issuesRichard Purdie6
We need to ensure only one value ends up in TUNE_PKGARCH rather than several. This change ensures consistency accross all the PPC tune files and that they correctly inherit the core value but also allow it to be overwritten. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-01arch-armv7a.inc: fix armv7a-vfp-neon -> armv7a compat caseKoen Kooi1
Without this 'armv7a' is used as TUNE_ARCH but does *not* end up in PACKAGE_EXTRA_ARCHS: arch all 1 arch any 6 arch noarch 11 arch arm 16 arch armv4 21 arch armv4t 26 arch armv5 31 arch armv5t 36 arch armv5-vfp 41 arch armv5t-vfp 46 arch armv5e 51 arch armv5te 56 arch armv5e-vfp 61 arch armv5te-vfp 66 arch armv6-vfp 71 arch armv6t-vfp 76 arch armv7-vfp 81 arch armv7t2-vfp 86 arch armv7a-vfp 91 arch armv7at2-vfp 96 arch armv7a-vfp-neon 101 arch armv7at2-vfp-neon 106 arch beagleboard 111 Which leads to a failing do_rootfs Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-01tune-ppce500mc: Adjust PowerPC e500mc tune file to correctly set hard fpu.Malcolm Crossley1
Signed-off-by: Malcolm Crossley <malcolm.crossley@ge.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2011-08-01tune/arch-powerpc64: Remove support for soft-float from ppc64Kumar Gala1
All 64-bit PPC processors support hard-float so no need to support soft-float. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2011-08-01tune/arch-powerpc64: Fix typo with 64-bit TUNE_CCARGS handlingKumar Gala1
When figuring out how to set TUNE_CCARGS we should look for 'm64' not 'n64' in TUNE_FEATURES. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2011-07-29feature-arm-thumb: respect ARM_INSTRUCTION_SETMartin Jansa1
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-07-29tune-xscale: fix xscale/xscale-be confusionDmitry Eremin-Solenikov1
Currently tune-xscale.inc has options wrt. setting of xscale/xscale-be tunes. Fix that. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-07-29arch-armv6, arch-armv5-dsp: correct endianness confusionPhil Blundell2
PACKAGE_EXTRA_ARCHS_tune-armv5eb needs to be defined in terms of the non-e with the same endianness, i.e. PACKAGE_EXTRA_ARCHS_tune-armv5b not PACKAGE_EXTRA_ARCHS_tune-armv5, otherwise PACKAGE_EXTRA_ARCHS will end up containing a semi-random mixture of endiannesses and disaster will ensue. Likewise for the vfp and armv6 variants. This is all a bit confusing because TUNE_FEATURES is done the opposite way around, i.e. TUNE_FEATURES_tune-armv5eb is derived by taking the armv5e version and adding bigendian. But fixing that is probably a subject for a separate patch. Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-07-29tune-cortex{m1, m3, r4}: correct spelling of "cortex"Phil Blundell3
Otherwise the test in TUNE_CCARGS will never match. Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-07-27Add basic PowerPC core tune configRichard Purdie7
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-27Add basic Mips core tune configRichard Purdie2
Acked-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-27Add ARM tune file overhaul based largely on work from Mark HatleRichard Purdie23
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-27machine/qemu: set preferred linux-yocto kernel versionBruce Ashfield1
The introduction of the linux-yocto-3.0 kernel is taking precedence over the known working 2.6.37 version. Forcing 2.6.37 until 3.0 is validated on the qemu machines. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2011-07-27tune-core2.inc: Drop X86ARCH32 usageRichard Purdie1
Using i686 doesn't work well with locale generation and doesn't gain anything so revert to the i586 default. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-26arch-ia32.inc: Fix up TUNE_ARCH variable conflictsRichard Purdie2
The current approach causes duplicate values to appear in the TUNE_ARCH field and this patch addresses that. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-26meta: Rename SITEINFO_ENDIANESS to SITEINFO_ENDIANNESSKhem Raj1
There is this discrepency in spelling. Lets fix it in core. There are lot of layers using SITEINFO_ENDIANNESS This was shielded since meta-oe had its own copy of siteinfo class. But that class has now been deleted in favor of oe-core Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-25Move architecture specific TARGET_OS mangling into tune filesRichard Purdie2
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-25conf/machine/include: Start to fill out architecture specific tune include ↵Richard Purdie28
files and tune features These changes revolve around the idea of tune features. These are represented by 'flag' strings that are included in the TUNE_FEATURES variable. Any string included in TUNE_FEATURES should also add a TUNEVALID[<name>] entry so we can know which flags are available in TUNE_FEATURES and have documentation about what the flags do. We will add sanity code to error if flags are listed in TUNE_FEATURES but are not documented in TUNEVALID. A given tune configuration will want to define one or more predetermined sets of _FEATURE flag lists. These are defined in the form TUNE_FEATURES_tune-<name>. For defined tune configuation, <name> should be added to the AVAILTUNE list so that we can determine what tune configurations are available. Flags cannot be used in this case as with TUNEVALID since its useful to be able to build up tune lists from other TUNE_FEATURES_tune-yyy options. A given tune configuration may also define PACKAGE_EXTRA_ARCHS_tune-<name> and BASE_LIB_tune-<name> to control the multilib location. All options can be overridden by the distro or local user configuration. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-22conf/machine/include: Set TUNE_CCARGS instead of TARGET_CC_ARCHRichard Purdie27
Since we're updating the tune file format, it makes sense to abstract the compiler tune arguments at this point too. This means that should these need to be overridden at any point, the original values can still be obtained in a similar manner to the other TUNE* variables. Whilst this isn't strictly necessary for any current need, its likely good practise to standardise this behaviour. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-22conf/machine/tune: Overhaul tune include file variablesRichard Purdie31
There is currently consideradble confusion over how the tune files operate and how these interact with the rest of the build system. This update/overhaul changes things so the tune files are primarily resonsible for setting: TUNE_ARCH - What was formerly set as TARGET_ARCH and is the value that represents the architecture we're targetting. TUNE_PKGARCH - The value that represents the tune confuration that this set of tune parameters results in. This allows the significant improvement that the core can now always determine the target architecture value, even when TARGET_ARCH needs to be reset to something different and likewise, there is one package architecture variable the core can reference allowing simplification of the BASE_PACKAGE_ARCH, PACKAGE_ARCH and FEED_ARCH variables. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-20tune-ppce500mc: Add a tune file for PowerPC e500mc coreKumar Gala1
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2011-07-20tune-ppce500v2: Add a tune file for PowerPC e500v2 coresKumar Gala1
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2011-05-25IMAGE_ROOTFS_SIZE CleanupSaul Wold1
This basic cleanup removes the _ext2/3 overrides from places they no longer belong since they did not allow further overrides. In doing this the core-image-minimal* recipes can now set a reasonably small rootfs so that it's a realistic size for minimal. The new default for minimal is 8M and will be adujsted upward by the IMAGE_OVERHEAD_FACTOR (default of 1.3). This also fixes the ROOTFS_SIZE usage in the IMAGE_CMD_<fstype> code Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-05-23qemu machines: drop MACHINE_ESSENTIAL_EXTRA_RDEPENDS = "qemu-config"Koen Kooi1
Things like 'distcc' and 'bash' are not essential to booting a qemu machine. Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-11machine/qemu: Add qemu-config as an essential machine speicfic dependency ↵Richard Purdie3
and drop specific distro config Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-10bitbake.conf: Drop unused *GUI* and MACHINE_DISPLAY variablesRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-04qemuppc: add libqtopengl4 for ppcMei Lei1
Modify some configs for ppc to enable the libqtopengl4 support. This fixes [YOCTO #848] Signed-off-by: Mei Lei <lei.mei@intel.com>
2011-03-23machine/include/tune-atom.inc: Remove FULL_OPTIMIZATION_pn-gtk+Khem Raj1
* Since bitbake.conf has got rid of -fomit-frame-pointer this is no longer required Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-03-21bitbake.conf/tune files: Adjust PACKAGE_EXTEA_ARCHSRichard Purdie14
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-17atom-pc: work around gcc bug for core2Darren Hart1
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] Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-15tune-atom.inc: Remove duplicate TARGET_ARCH entry to avoid ipk rootfs issues ↵Richard Purdie1
as temp workaround for problems pending a proper fix Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-01remove non-qemu machinesKoen Kooi4
As per TSC decision OE-core will only have qemu machines. This leaves the conf/machine/include file intact Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-03-01conf/machine: Use linux-libc-headers instead of linux-libc-headers-yoctoRichard Purdie4
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-01xf86-video-intel: add config option to support rootless XYu Ke1
- add global config option ROOTLESS_X to control if enable rootless X for the machine. ROOTLESS_X requires graphics driver supporting KMS (kernel mode setting), so far, only atom_pc support this. so enable ROOTLESS_X for atom_pc machine - add config options for xf86-video-intel to support rootless X Signed-off-by: Yu Ke <ke.yu@intel.com>
2011-02-21zaurus: remove zaurus linux includesDarren Hart2
Zaurus support was removed with: 673abd92f999829bdd67d0273c43570a62123a63 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-18conf/machine: Drop older machines with no recent updatesRichard Purdie17
These are all moving to meta-extras. Ideally in the future machines such as these will be maintained to topic specific layers as we move to a more layer oriented model. If this causes a problem for anyone please discuss it on the mailing list. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-09mpc8315-rdb: add dtb generation configurationBruce Ashfield1
Fixes [BUGID #610] dtb files were not being built for the mpc8315e-rdb, since they weren't being configured into the machine. With this and the related dtc fixes, we now get a dtb in the deployment directories. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>