aboutsummaryrefslogtreecommitdiffstats
path: root/meta/conf/machine
AgeCommit message (Collapse)Author
2012-05-24qemu.inc: Remove mesa-xlib as PREFERRED_PROVIDERSaul Wold
The xserver-xorg uses and depends on mesa-dri, so we should use the default PREFERRED_PROVIDER of libgl as mesa-dri. This resolves the following: ERROR: Multiple .bb files are due to be built which each provide virtual/libgl (/intel/poky/distro/meta/recipes-graphics/mesa/mesa-dri_7.11.bb /intel/poky/distro/meta/recipes-graphics/mesa/mesa-xlib_7.11.bb). This usually means one provides something the other doesn't and should. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-05-24qemumachines: Enable xserver-xorg as default xserverKhem Raj
For qemux86 and qemux86-64 include qemu.inc after defining XSERVER XSERVER variable is also weakly defined in task-core-x11.bb which means we can not use ??= otherwise when building any qemu image that uses task-core-x11.bb will get the wrong definition So we define the XSERVER common set for qemu in qemu.inc and as we know x86 and x86-64 qemu overrides the default we include qemu.inc after that definition which means that qemux86 and qemux86-64 get their own definitions and other qemus get the definitions from qemu.inc. other non-qemu machine will get their defintion from task which points to kdrive as of now. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-05-20tune-mips64.inc: Add new tune file for mips64 big-endianKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-05-06conf/machine: Clean up configuration values.Peter Seebach
This cleans up and/or corrects a few values from machine includes for consistency with future toolchain sanity checks, and also adds the TUNEVALID and TUNECONFLICTS to documentation.conf. Signed-off-by: Peter Seebach <peter.seebach@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-01tune-sh4.inc: Fix spelling of big-endian feature setPeter Seebach
In tune-sh3, tune-xscale, and tune-sh4, several FEATURES lines referred to nonexistent features like "sh3eb" when they should have referred to "sh3 bigendian" or the like. Caught by the TUNEVALID sanity check. Signed-off-by: Peter Seebach <peter.seebach@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-04conf/machine/include: Update SH tunings to match READMEMark Hatle
Update the experimental SH tunings to match the tunings README. These tunings have not been tested, and are experimental! Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2012-04-04conf/machine/include: Cleanup ARM tunings to match READMEMark Hatle
Cleanup the ARM tunings to match the new tunings README file. The ARM tunings define TUNE_PKGARCH in a way that only one main arm architecture, i.e. armv6, may be defined at the same time. We may have to revise these settings in the future, as well as figure out a way to better differentiate various optimize tunings in the package arch. (This was not done, to preserve existing behavior!) Fix a number of minor issues w/ the armv5 tunings where DSP variants were referenced but not defined. Fix incorrect armv7 entries in armv7a. Fix PACKAGE_EXTRA_ARCHS definitions inside of tune-cortexm3 and tune-cortexr4. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2012-04-04conf/machine/include: Cleanup PowerPC tunings to match READMEMark Hatle
Cleanup the PowerPC tunings to match the new tuning README file. Default PowerPC to using TUNE_PKGARCH = ${TUNE_PKGARCH_tune-<tune>} Fix AVAILTUNE settings in ppc603e, and ppce500mc to be addative. Correct potentially overlapping "spe" definitions in ppce500 and ppce500v2. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2012-04-04conf/machine/include: Cleanup MIPS tunings to match READMEMark Hatle
Cleanup the MIPS tunings to match the new tuning README file. Also add a MIPS specific README file to explain the MIPS specifical architectural issues. Finally correct the variant configurations within the tune-mips32.inc. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2012-04-04conf/machine/include: Cleanup IA tunings to match READMEMark Hatle
We perform a basic cleanup of the IA32 architecture and related tunings in order to match the rules and descriptions within the new tuning README file. A number of small issues were corrected in the "c3" tuning to bring it inline with the README. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2012-04-04conf/machine/include/README: Add readme to explain cpu tuningsMark Hatle
Add a new README that covers the basic items used with various cpu tunings. The goal is to better help people understand the various settings and where things should or should not be defined. Corresponding architecture README files will also be generated to explain the particulars of architectural tunings. Also remove the default TUNE_PKGARCH setting in bitbake.conf. This was done to ensure an error occurs if an invalid tuning is defined. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2012-03-31tune-cortexa8/9: fix PACKAGE tunes being all armv7at even for non-Thumb onesDenys Dmytriyenko
All PACKAGE_EXTRA_ARCHS for cortexa8, cortexa8t and cortexa8-neon have typo in referencing tune-armv7at even for non-Thumb modes. Probably a copy/paste error. That's not the case for recently-added hard-fp tunes. Same for cortexa9. Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-30virtual/libgl: use mesa-xlib for qemuarm/qemumips/qemuppcZhai Edwin
Still need mesa-xlib for emulation of GLX interface on qemuarm/mips/ppc, where mesa-dri doesn't work for pure qemu emulator. [YOCTO #2066] fixed. Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-30arch-armv7a.inc: fix PACKAGE_EXTRA_ARCHS after armv7.inc was removedMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-29qemu.inc: Use '+=' for IMAGE_FSTYPESTom Rini
As per http://lists.linuxtogo.org/pipermail/openembedded-core/2012-March/020053.html a machine conf file should use '+=' to set IMAGE_FSTYPES. Signed-off-by: Tom Rini <trini@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-28powerpc e500: set -mfloat-gprs=doubleChristopher Larson
Use of FPRs instead of GPRs is incompatible with e500/SPE, so let's be explicit about the use of GPRs to avoid potential errors. For example, with the Sourcery G++ toolchain, one can hit: conftest.c:1:0: error: E500 and FPRs not supported. Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-28tune/armv7: DeleteKhem Raj
armv7 is least common denominator of armv7-a armv7-m and armv7-r and armv7-m does not support ARM instructions but only thumb2 instruction set which means armv7 when chosen will complain if code is compiled in arm mode which is default in OE if not specified other wise if we chose this tuning errors like below pop up error: target CPU does not support ARM mode This tuning seems theoretical and base tune for armv7 would be one of armv7-a, armv7-m or armv7-r Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-22arch-powerpc.inc: use default value of TUNE_PKGARCHMatthew McClintock
We can use the default value for TUNE_PKGARCH, and now we just append "-nf" if TARGET_FPU is fpu-soft Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-19Simple typo in qemuarm.conf file: "versaile" -> "versatile"Robert P. J. Day
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-05meta: Convert getVar/getVarFlag(xxx, 1) -> (xxx, True)Richard Purdie
Using "1" with getVar is bad coding style and "True" is preferred. This patch is a sed over the meta directory of the form: sed \ -e 's:\(\.getVar([^,()]*, \)1 *):\1True):g' \ -e 's:\(\.getVarFlag([^,()]*, [^,()]*, \)1 *):\1True):g' \ -i `grep -ril getVar *` Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-04soc-family.inc: to be included in machine.conf to add SOC_FAMILY to ↵Denys Dmytriyenko
MACHINEOVERRIDE Add a soc-family.inc file that can be included in a machine.conf to enable the use of SOC_FAMILY in MACHINEOVERRIDE, which could be useful to group multiple machines with the same common base. Some examples can be seen in meta-ti BSP layer. Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-28tune-ppc*.inc: update to use new default value for TUNE_PKGARCHMatthew McClintock
Signed-off-by: Matthew McClintock <msm@freescale.com>
2012-02-28tune-ppce5500: consolidate ppce5500 and ppc64e5500 into one tune fileMatthew McClintock
We don't need two files for this. Also this fixes some mutlilib build issues where we were not able to select the multilib arch to be ppce5500 or ppc64e5500. Changes recently made to meta-fsl-ppc layer depend on this change as well Signed-off-by: Matthew McClintock <msm@freescale.com>
2012-02-28arch-powerpc{, 64}.inc: update/add PACKAGE_EXTRA_ARCHS for powerpc/powerpc64Matthew McClintock
Signed-off-by: Matthew McClintock <msm@freescale.com>
2012-02-26arch-armv7.inc: fix quotingMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-07tune-mips32.inc: Add mips32-nf and mips32el-nfAndreas Oberritter
tune-mips32.inc only lists mips32 CPUs with hardware FPU. Extend it to list CPUs without hardware FPU, too. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2012-01-17qemuppc: replace emulation of qemuppc from prep to mac99Liming Wang
With this new emulation, existing qemuppc functionality is maintained and other functionality such as framebuffer + sato and NFS boot are added. Signed-off-by: Liming Wang <liming.wang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2012-01-09Remove last remnants of kernel26 MACHINE_FEATURESSteve Sakoman
There is no reason to continue to carry this feature Signed-off-by: Steve Sakoman <steve@sakoman.com>
2011-12-23Change -mno-thumb to -marmKen Werner
Recent versions of the GCC reject the -mno-thumb option. In order to prevent the compiler from generating code for the Thumb instruction set the -marm switch should be used instead. For details see GNU bug #47930. Signed-off-by: Ken Werner <ken.werner@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-12-22arch-powerpc: set PACKAGE_EXTRA_ARCHSIlya Yanok
Set PACKAGE_EXTRA_ARCHS for the generic tunes ("powerpc" and "powerpc-nf") thus allowing to use them instead of tuning to the specific CPU. Signed-off-by: Ilya Yanok <yanok@emcraft.com>
2011-12-13conf/machine/include/arm add extra MACHINEOVERRIDES like x86 doesMartin Jansa
* motivated by this NAK http://patchwork.openembedded.org/patch/15777/ and today's discussion on #yocto I hope it's worth it to send this RFC Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-12-12x86 tune: fix TUNE_PKGARCH definition for proper PACKAGE_ARCHNitin A Kamble
rpmbuild can not handle the PACKAGE_ARCH of these kinds: x86_64-x32, core2-64, core2-64-x32 With these kinds of PACKAGE_ARCH the --target parameter of rpmbuild becomes like: core2-64-x32-poky-linux-gnux32 ; And rpmbuild extracts %_target (arch) wrongly as core2 generating these kinds of rpms with incorrect filenames: zip-3.0-r0.core2.rpm So this commit fixes the issue by making PACKAGE_ARCH like this: x86_64_x32, core2_64, core2_64_x32 Now --target parameter of rpmbuild becomes like: core2_64_x32-poky-linux-gnux32 ; And rpmbuild extracts %_target (arch) correctly as core2_64_x32 generating these kinds of rpms with correct filenames: zip-3.0-r0.core2_64_x32.rpm Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2011-12-06conf/machine: Don't poke around providers which aren't machine specific/safeRichard Purdie
Machines shouldn't be poking around PREFERRED_PROVIDERS which aren't machine specific or at least machine safe. Kernels are machine specific and the xserver is selectable. libx11 and mesa are now really a distro choice and machine configurations shouldn't be poking around them as it just leads to corruption, conflicts and confusion. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-10Convert to use direct access to the data store (instead of bb.data.*Var*())Richard Purdie
This is the result of running the following over the metadata: sed \ -e 's:bb.data.\(setVar([^,()]*,[^,()]*\), *\([^ )]*\) *):\2.\1):g' \ -e 's:bb.data.\(setVarFlag([^,()]*,[^,()]*,[^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^() ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -i `grep -ril bb.data *` Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-10-20x86 tune files: set baselib for x32 tune as libx32Nitin A Kamble
This ensures that on a multilib system the two executable formats don't conflict. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2011-10-15arch-ia32: Add a generic x86 override (instead of i{3|4|5|6}86 and so on)Richard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-10-11xserver-xf86(-dri)-lite: rename to xserver-xorg and xserver-xorg-liteMartin Jansa
* xserver-xorg is closer to upstream naming and that's how it's named in OE-classic and meta-oe? It would make meta-oe transition easier and better to do it now then convert meta-oe to xserver-xf86 and then rename it back later. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-09-28tune-i586: fix hardcoded TUNE_PKGARCHDongxiao Xu
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 Heinold
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 Blundell
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 Hart
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 Hart
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 Ashfield
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 Gala
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 Gala
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 Purdie
arch-ia32 version Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-08x86 tune inc files: add x32 abi tune parametersNitin A Kamble
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2011-08-05machine/include/arm/feature-arm-thumb: Allow thumb to be disabledRichard Purdie
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 Gala
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 Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>