summaryrefslogtreecommitdiff
path: root/meta/conf
Commit message (Collapse)AuthorAgeFilesLines
* multilib: Only build one kernelRichard Purdie2011-09-021-0/+2
| | | | | | | | | | | | | | | For a given system we only want one kernel to be built. This change makes the main kernel recipe provide all of the provides of the various enabled multilibs hence allowing it to fulfil all the appropriate dependencies. To make this work a global multilib class file needed to be created. This patch also enables this multi provider functionality for "allarch" packages. [YOCTO #1361] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* multilib: extend multilib prefix for libsdlDongxiao Xu2011-09-021-0/+1
| | | | | | libsdl is required by sato image, so extend it for multilib. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* multilib: Using different sysroot for multilib recipesDongxiao Xu2011-09-021-0/+3
| | | | | | | | | | | | | | | | | | Thinking of the senario that, if we already built out a 64bit image along with the full toolchain bootstrapped, then we need to build some 32bit libraries, which needs lib32 versions of gcc and eglibc. These toolchain recipes will bootstrap again in the same sysroot, resulting that lib32-gcc-cross-initial will find some macros owned by eglibc have already been defined and thus it includes non-existed headers that provided by later lib32-eglibc. The solution for the above issue is to use different sysroot for multilib recipes, here we add ${MLPREFIX} in front of the machine specific sysroot directory name. [YOCTO #1372] Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* distro_tracking_fields: update binutils to 2.21.1aPaul Eggleton2011-08-291-3/+3
| | | | Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* tcmode-default: update binutils versionPaul Eggleton2011-08-291-1/+1
| | | | | | binutils is now at version 2.21.1a. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* bitbake.conf: Use BPN in FILES pathsDongxiao Xu2011-08-261-2/+2
| | | | | | Use BPN instead of PN in FILES path to support multilib. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* bitbake.conf: set includedir_nativesdkKang Kai2011-08-261-0/+1
| | | | | | | | | | | | Fixes [Yocto #1231] crosssdk.bbclass uses ${includedir_nativesdk} to define target_includedir, but includedir_nativesdk is not defined before. This makes gcc-crosssdk can NOT search the correct standard headers and libraries search path. Define includedir_nativesdk in bitbake.conf. Signed-off-by: Kang Kai <kai.kang@windriver.com>
* mips32: add mips32el tuningPhil Blundell2011-08-241-1/+4
| | | | | | This makes building for little-endian mips32 slightly more convenient. Signed-off-by: Phil Blundell <philb@gnu.org>
* tune: Add hard floating point variants of cortexa8 tunesDarren Hart2011-08-231-3/+11
| | | | | | | | | | 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>
* tune: add missing closing quote to arch-armv7a.inc for AVAILTUNESDarren Hart2011-08-221-1/+1
| | | | | | | | 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>
* newt: update distro tracking fieldsKang Kai2011-08-191-4/+4
| | | | | | Update newt distro tracking fields Signed-off-by: Kang Kai <kai.kang@windriver.com>
* alsa-tools: update license and add distro tracking fieldsKang Kai2011-08-191-3/+4
| | | | | | | Update license and other informations, then bump up PR. Update distro tracking fields. Signed-off-by: Kang Kai <kai.kang@windriver.com>
* slang: add homepage and update distro tracking fieldsKang Kai2011-08-191-2/+3
| | | | | | | Add slang homepage and bump up PR. Update distro tracking fields. Signed-off-by: Kang Kai <kai.kang@windriver.com>
* mailx: update license and distro tracking filedsKang Kai2011-08-191-2/+7
| | | | | | update mailx license and bump up PR, and update distro tracking fields. Signed-off-by: Kang Kai <kai.kang@windriver.com>
* eglibc: check dependencies among eglibc optionsKang Kai2011-08-191-1/+1
| | | | | | | | | | | | Fixes [Yocto #1212] 'libc-inet' and 'ipv4' are the same thing, so remove 'libc-inet' from the default DISTRO_FEATURES_LIBC in file default-distrovars.inc. Check the dependencies among eglibc configurable options, make sure that eglibc could be compile successfully only with part of the options. Signed-off-by: Kang Kai <kai.kang@windriver.com>
* distro_tracking_fields.inc: update the info for the following recipesDexuan Cui2011-08-161-28/+28
| | | | | | | | | | | | cronie mdadm freetype xproto glproto dri2proto util-macros Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* qemu: change default kernel to 3.0.xBruce Ashfield2011-08-161-1/+0
| | | | | | | | | 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>
* distro-tracking: Update info for gpgme, libassuan, apr... after last upgrade.Zhai Edwin2011-08-151-23/+25
| | | | Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
* default-distrovars: add x11 to default DISTRO_FEATURESPhil Blundell2011-08-151-1/+1
| | | | Signed-off-by: Phil Blundell <philb@gnu.org>
* utils.bbclass/multilib.class: Added misc supporting functions.Lianhao Lu2011-08-152-0/+4
| | | | | | | | | | | | | 1. Added variable MULTILIB_VARIANTS to store all the instance variants for multilib extend. 2. Added function all_multilib_tune_values to collect the variable values for all multilib instance. 3. multilib bbclass handler will save the orignal value of all variables defined in MULTILIB_SAVE_VARNAME. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
* tune-ppce5500: Add a set of tune files for PowerPC e5500 coreKumar Gala2011-08-122-0/+30
| | | | | | | | | | | | 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>
* tune-ppc: Update to pass glibc configure option to get cpu specific supportKumar Gala2011-08-122-2/+8
| | | | | | | | | | | | | 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>
* local.conf.sample: Cleanup and improveRichard Purdie2011-08-123-161/+289
| | | | | | | | | | | | | | | | | | | local.conf is the first thing anyone new to the project sees. Over time it has built up a ton cruft and isn't even accurate in places. This patch: * Moves things to local.conf.sample.extended if a new user is unlikely to need to immediately care about the options * Reorders the file to be more intuitive to a new user * Moves certain default values to default-distrovars.inc in cases where most users wouldn't want to change the value * Adds large blocks of text to explain what an option does. There have been too many cases of a user not realising what some of these settings do and how they can use them to their advantage (like DL_DIR for example). Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tune-x86-64: Fix DEFAULTTUNE order so weak default to overrides the ↵Richard Purdie2011-08-101-1/+2
| | | | | | arch-ia32 version Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* default-distrovars.inc: Allow world builds to be successfulRichard Purdie2011-08-091-1/+2
| | | | | | | | | | | | Currently we exclude some packages with license issues from world builds but we don't exclude packages that depend on them leading to errors when trying a "bitbake world". This patch also blacklists the dependees so that a world build doesn't show horrible errors and requires the -k option. [YOCTO #1262] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* defaultsetup: Use .= to add TCLIBCAPPEND to TMPDIRDaniel Lazzari2011-08-091-1/+1
| | | | | | | | | | | Lazily appending causes a bug where wrong cache is cleared when BB_SRCREV_POLICY = "clear". Tested with qemuarm on uclibc/eglibc in same build dir Signed-off-by: Daniel Lazzari Jr <dlazzari@leapfrog.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* x86 tune inc files: add x32 abi tune parametersNitin A Kamble2011-08-083-3/+22
| | | | Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* multilib.conf: Supported multilib extend in more recipes.Lianhao Lu2011-08-081-13/+436
| | | | | | | Added more recipes supporting multilib extend. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf/powerpc64: Set baselib to 'lib64' for ppc64Kumar Gala2011-08-051-1/+3
| | | | | Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* machine/include/arm/feature-arm-thumb: Allow thumb to be disabledRichard Purdie2011-08-051-1/+1
| | | | | | | | | 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>
* local.conf.sample: Comment out BBMASK by defaultRichard Purdie2011-08-051-1/+1
| | | | | | | This means we can set defaults in layers or other configurations without the default user config masking it out. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tune/arch-powerpc64: include arch-powerpc.inc to keep things in syncKumar Gala2011-08-051-0/+4
| | | | | | | | 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>
* toolchain-scripts & other classes: add TARGET_LD_ARCH & TARGET_AS_ARCH varsNitin A Kamble2011-08-051-6/+17
| | | | | | This is comming from x32 need to pass special parameters to ld & as. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* glibc: Remove unused versionSaul Wold2011-08-041-1/+0
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* bitbake.conf/qemux86-64: Automate TRANSLATED_TARGET_ARCHRichard Purdie2011-08-032-4/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* local.conf.sample: Fix TUNENAME reference (should be DEFAULTTUNE)Richard Purdie2011-08-021-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tune/ppc: Fix various TUNE_PKGARCH issuesRichard Purdie2011-08-026-6/+7
| | | | | | | | 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>
* bitbake.conf: Add SDK_PACKAGE_ARCHSMark Hatle2011-08-021-0/+1
| | | | | | | | | | | | | Add SDK_PACKAGE_ARCHS to avoid the sed operations we were previously doing inside of the variouns populate_sdk functions and related items. Also add documentation to populate_sdk to explain when the various functions are expected to be doing. Finally fix a bug in populate_sdk_rpm where the wrong value was being set, noticed while working on this change. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* arch-armv7a.inc: fix armv7a-vfp-neon -> armv7a compat caseKoen Kooi2011-08-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* tune-ppce500mc: Adjust PowerPC e500mc tune file to correctly set hard fpu.Malcolm Crossley2011-08-011-1/+1
| | | | | Signed-off-by: Malcolm Crossley <malcolm.crossley@ge.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* tune/arch-powerpc64: Remove support for soft-float from ppc64Kumar Gala2011-08-011-4/+2
| | | | | | | All 64-bit PPC processors support hard-float so no need to support soft-float. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* tune/arch-powerpc64: Fix typo with 64-bit TUNE_CCARGS handlingKumar Gala2011-08-011-1/+1
| | | | | | | 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>
* glibc: deletedPhil Blundell2011-08-012-37/+0
| | | | | | | Glibc 2.10.1 is outdated now and eglibc seems to provide a superset of its functionality. Signed-off-by: Phil Blundell <philb@gnu.org>
* feature-arm-thumb: respect ARM_INSTRUCTION_SETMartin Jansa2011-07-291-1/+2
| | | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* tune-xscale: fix xscale/xscale-be confusionDmitry Eremin-Solenikov2011-07-291-1/+1
| | | | | | | | 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>
* arch-armv6, arch-armv5-dsp: correct endianness confusionPhil Blundell2011-07-292-6/+6
| | | | | | | | | | | | | | | | 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>
* tune-cortex{m1, m3, r4}: correct spelling of "cortex"Phil Blundell2011-07-293-4/+3
| | | | | | | 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>
* bitbake.conf: remove PACKAGE_EXTRA_ARCHS_tune-XXX defaultPaul Eggleton2011-07-281-1/+0
| | | | | | | | | | | | Because of the way BitBake handles ??= under certain circumstances, this default setting ends up stepping all over the real setting from the arch include file. Since virtually all arch include files or tune files define a real value for this we shouldn't need to have a default (or it needs to be done in a different way). Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Acked-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Update TERMCMD message to align with previous changeMatthew McClintock2011-07-271-1/+1
| | | | | | | | A previous patch changed the default TERM to use xterm. This updates local.conf.sample to match the change Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* multilib: Add support for compiling recipes against multiple ABIsRichard Purdie2011-07-273-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | This patch adds the core multilib class which can be used along with a parameter specifying the mutlilib to use in BBCLASSEXTEND. The MLPREFIX variable is added and can be used in cases where its too difficult to dynmaically work out where a mutltilib prefix is needed to be added to a variable. This includes: * SHLIBSDIR and PACKAGE_ARCH fixes from Lianhao Lu. * PACKAGE_DYNAMIC mapping from Yu Ke * PACKAGE_INSTALL mapping from Yu Ke * RPROVIDES mapping from Yu Ke * TARGET_VENDOR fix from Mark Hatle * Ignorning *-native-runtime dependnecies as well as *-native from Yu Ke * Map PKG and ALLOW_EMPTY from Dongxiao Xu * Ensure RCONFLICTS and PKG field dependencies are remapped (from Dongxiao Xu) * Ensure PN and MLPREFIX are set at the same time to ensure consistent BPN values (Yu Ke) Signed-off-by: Yu Ke <ke.yu@intel.com> Signed-off-by: Xu Dongxiao <dongxiao.xu@intel.com> Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>