diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-01-25 00:34:09 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-01-25 12:25:45 +0000 |
commit | c0e1272d1526484f1921f3dd14ca042798d530d9 (patch) | |
tree | e29de33c2cb3edf5c1c43bd772a4c98a77ec36a4 /meta/classes/siteconfig.bbclass | |
parent | 23cb814b2761cbe42f1f76e66abb61d8d4584c54 (diff) | |
download | openembedded-core-c0e1272d1526484f1921f3dd14ca042798d530d9.tar.gz openembedded-core-c0e1272d1526484f1921f3dd14ca042798d530d9.tar.bz2 openembedded-core-c0e1272d1526484f1921f3dd14ca042798d530d9.zip |
gcc/libc: Change bootstrap to use an intermediate sysroot and hence no longer overwrite files
Based upon patches from Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/siteconfig.bbclass')
-rw-r--r-- | meta/classes/siteconfig.bbclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/siteconfig.bbclass b/meta/classes/siteconfig.bbclass index e7cc9ae0da..5edc0d6a0b 100644 --- a/meta/classes/siteconfig.bbclass +++ b/meta/classes/siteconfig.bbclass @@ -10,13 +10,15 @@ python siteconfig_do_siteconfig () { sstate_install(shared_state, d) } +EXTRASITECONFIG ?= "" + siteconfig_do_siteconfig_gencache () { mkdir -p ${WORKDIR}/site_config gen-site-config ${FILE_DIRNAME}/site_config \ >${WORKDIR}/site_config/configure.ac cd ${WORKDIR}/site_config autoconf - CONFIG_SITE="" ./configure ${CONFIGUREOPTS} --cache-file ${PN}_cache + CONFIG_SITE="" ${EXTRASITECONFIG} ./configure ${CONFIGUREOPTS} --cache-file ${PN}_cache sed -n -e "/ac_cv_c_bigendian/p" -e "/ac_cv_sizeof_/p" \ -e "/ac_cv_type_/p" -e "/ac_cv_header_/p" -e "/ac_cv_func_/p" \ < ${PN}_cache > ${PN}_config |