]> code.ossystems Code Review - openembedded-core.git/commit
siteconfig: generate configuration data caches for autoconf
authorJeff Polk <jeff.polk@windriver.com>
Thu, 2 Sep 2010 21:08:59 +0000 (15:08 -0600)
committerRichard Purdie <rpurdie@linux.intel.com>
Fri, 3 Sep 2010 09:50:02 +0000 (10:50 +0100)
commitd2febcce2b584e634a664bf128359c69a70a811f
tree4e7a3d85d5b489e91a914dc1ba57b793a4c82aea
parentd6c45f0f1184e94a45381af9813f831aaa9052ef
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>
meta/classes/siteconfig.bbclass [new file with mode: 0644]
meta/classes/siteinfo.bbclass
scripts/gen-site-config [new file with mode: 0755]