Commit Graph

12 Commits

Author SHA1 Message Date
Jeff Polk c3269e20bf siteinfo: add SITECONFIG_SYSROOTCACHE definition in place of hard-coded path
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>
2010-09-10 12:56:56 +01:00
Jeff Polk d2febcce2b siteconfig: generate configuration data caches for autoconf
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>
2010-09-03 10:50:02 +01:00
Nitin A Kamble f516cfcac0 siteinfo.bbclass: add mips-common to mips targets
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>
2010-07-08 22:05:20 -07:00
Kevin Tian e0a1238b22 siteinfo.bbclass: remove duplicated 'common' appendent
'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>
2010-07-02 17:28:00 +08: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
Richard Purdie c54117458a classes: Remove and sanitise import statements
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13 12:15:28 +00:00
Richard Purdie 3b53488987 bitbake.conf/siteinfo.bbclass/package.bbclass: Add in support for 'darwin8'
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4424 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-05 22:19:28 +00:00
Richard Purdie 1cab3f240e siteinfo.bbclass: Add darwin entry
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3275 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-30 08:53:23 +00:00
Marcin Juszkiewicz 62c6e3ef89 siteinfo.bbclass: add mips support from OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2911 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-10-19 10:31:21 +00:00
Richard Purdie 720e0b144c classes: Sync various classes with OE for various bugfixes
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2407 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-08 20:41:55 +00:00
Richard Purdie 5285430f17 siteinfo.bbclass: Change note to a debug message
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@947 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-23 12:13:46 +00:00
Richard Purdie 634232e696 Site file handling update: Instead of one site file per target, allow 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
2006-11-21 14:34:40 +00:00