summaryrefslogtreecommitdiffstats
path: root/meta/classes/siteinfo.bbclass
Commit message (Collapse)AuthorAgeFilesLines
* siteinfo: replace all-linux with allarch-linux to match ↵Martin Jansa2011-06-021-1/+1
| | | | | | | | | 5d7d4e1ed9bedf2b6510796d76ea8f94739b9de2 (From OE-Core rev: 1e6f0551381c1383f796d5a1b4507c0bb64b432d) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Improve handling of 'all' architecture recipes and their interaction with sstateRichard Purdie2011-05-311-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The existing PACKAGE_ARCH = "all" mechanism of sharing packages is problematic with sstate since there are a variety of variables which have target specific values and the sstate package therefore correctly changes signature depending on the MACHINE setting. This patch creates a new "allarch" class which sets: PACKAGE_ARCH = "all" (as per the existing convention) INHIBIT_DEFAULT_DEPS = "1" (since its not target specific and therefore can't depend on the cross compiler or target libc) TARGET_ARCH = "all" TARGET_OS = "linux" TARGET_CC_ARCH = "none" (since these variables shouldn't change between the different packages and target compiler flags shouldn't be getting used) PACKAGE_EXTRA_ARCHS = "" (since we shouldn't be depending on any architecture specific package architectures) Not all PACKAGE_ARCH = "all" recipes can use this class since some run configure checks on the compiler. This means they have target specific components and therefore the "all" classification is incorrect. (From OE-Core rev: 26e5e5feb695864b11e47e24017e254c28f14494) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* siteinfo.bbclass: Add powerpc-linux-gnuspe.Leon Woestenberg2011-05-111-0/+1
| | | | | | | | | | | Re-add powerpc-linux-gnuspe, from OpenEmbedded. Also adds support to poky.conf so that minimal-core-image builds with DISTRO=poky, [RP: Synced with recent diso file reoorg] (From OE-Core rev: 701a725d118c1a2edd1e54798d85e864b45e19a2) Signed-off-by: Leon Woestenberg <leon@sidebranch.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* siteinfo: add microblaze target infoAdrian Alonso2011-05-101-0/+1
| | | | | | | | | | | | * Add microblaze target info * Microblaze soft CPU can be configured as big-endian/little-endian * Currently target info support for microblaze big endian, using prebuilt toolchains. (From OE-Core rev: e91c0813e6bba84a8585a5f4d5116533e46b5664) Signed-off-by: Adrian Alonso <aalonso@secretlab.ca> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes: Use linux-uclibceabi instead of linux-uclibgnuceabi for os portion ↵Khem Raj2011-04-041-2/+2
| | | | | | | | | of triplet (From OE-Core rev: 7aa1671941222e6dcd94fd943ede9e75f6c9f5ed) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* siteinfo: add SITECONFIG_SYSROOTCACHE definition in place of hard-coded pathJeff Polk2010-09-101-2/+2
| | | | | | | | | siteconfig: use SITECONFIG_SYSROOTCACHE and use sstate-interceptfuncs Use the new sstate-interceptfuncs functionality to interpose do_siteconfig between the sstate_install and package. Signed-off-by: Jeff Polk <jeff.polk@windriver.com>
* siteconfig: generate configuration data caches for autoconfJeff Polk2010-09-031-0/+7
| | | | | | | | | | | | | | | siteinfo: Use configuration caches when available Generate cached configuration data for autoconf for the package based on a list of header, types, and functions to eliminate the need for all subesequent package builds to do the actual tests via the cross compiler and sysroot. The cache files are stored in the sysroot in ${STAGING_DATADIR}/${TARGET_SYS}_config_site.d. Siteinfo appends any files it finds in that directory to the normal CONFIG_SITE. All of the cache values set the variables only if not already set so they may be overridden by any of the normal site files. Signed-off-by: Jeff Polk <jeff.polk@windriver.com>
* siteinfo.bbclass: add mips-common to mips targetsNitin A Kamble2010-07-081-4/+4
| | | | | | | | | siteinfo_get_files() was broken for mips. It was missing the mips-common site config file for all the mips targets. Fixed it by adding it. This will also fix building of flex recipe on mips. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* siteinfo.bbclass: remove duplicated 'common' appendentKevin Tian2010-07-021-1/+0
| | | | | | | 'common' site file is already appended in get_siteinfo_list. No need for another duplication later Signed-off-by: Kevin Tian <kevin.tian@intel.com>
* base.bbclass: Don't inherit siteinfo in base.bbclass [based on an OE patch ↵Richard Purdie2010-03-191-8/+0
| | | | from Chris Larson]
* classes: Remove and sanitise import statementsRichard Purdie2009-11-131-4/+0
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* bitbake.conf/siteinfo.bbclass/package.bbclass: Add in support for 'darwin8'Richard Purdie2008-05-051-0/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4424 311d38ba-8fff-0310-9ca6-ca027cbcb966
* siteinfo.bbclass: Add darwin entryRichard Purdie2007-11-301-0/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3275 311d38ba-8fff-0310-9ca6-ca027cbcb966
* siteinfo.bbclass: add mips support from OEMarcin Juszkiewicz2007-10-191-0/+2
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2911 311d38ba-8fff-0310-9ca6-ca027cbcb966
* classes: Sync various classes with OE for various bugfixesRichard Purdie2007-08-081-2/+9
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2407 311d38ba-8fff-0310-9ca6-ca027cbcb966
* siteinfo.bbclass: Change note to a debug messageRichard Purdie2006-11-231-1/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@947 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Site file handling update: Instead of one site file per target, allow ↵Richard Purdie2006-11-211-0/+126
entries to be shared. Handled through siteinfo.bbclass git-svn-id: https://svn.o-hand.com/repos/poky/trunk@931 311d38ba-8fff-0310-9ca6-ca027cbcb966