mirror of
https://git.yoctoproject.org/poky
synced 2026-06-03 13:49:49 +00:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user