summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-09-28 14:16:04 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-09-28 15:19:42 +0100
commit15216fc1ec10c93d009f1a6262e90cada5254697 (patch)
tree3239760c71de4acb66f22f607a09f91f20a4e013
parent3d3893d26191307e99a261064885aeaf1e4c1ec7 (diff)
downloadpoky-15216fc1ec10c93d009f1a6262e90cada5254697.tar.gz
siteconfig: Clear cache before rebuilding
This ensures consistent build results and avoids build failures when compiler flags change for example. (From OE-Core rev: a5ff8396cad130f809f8f8da49bb38e6f80f923c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/siteconfig.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/siteconfig.bbclass b/meta/classes/siteconfig.bbclass
index ccbe5b99c9..3701b7cd81 100644
--- a/meta/classes/siteconfig.bbclass
+++ b/meta/classes/siteconfig.bbclass
@@ -18,6 +18,7 @@ siteconfig_do_siteconfig_gencache () {
18 >${WORKDIR}/site_config_${MACHINE}/configure.ac 18 >${WORKDIR}/site_config_${MACHINE}/configure.ac
19 cd ${WORKDIR}/site_config_${MACHINE} 19 cd ${WORKDIR}/site_config_${MACHINE}
20 autoconf 20 autoconf
21 rm -f ${PN}_cache
21 CONFIG_SITE="" ${EXTRASITECONFIG} ./configure ${CONFIGUREOPTS} --cache-file ${PN}_cache 22 CONFIG_SITE="" ${EXTRASITECONFIG} ./configure ${CONFIGUREOPTS} --cache-file ${PN}_cache
22 sed -n -e "/ac_cv_c_bigendian/p" -e "/ac_cv_sizeof_/p" \ 23 sed -n -e "/ac_cv_c_bigendian/p" -e "/ac_cv_sizeof_/p" \
23 -e "/ac_cv_type_/p" -e "/ac_cv_header_/p" -e "/ac_cv_func_/p" \ 24 -e "/ac_cv_type_/p" -e "/ac_cv_header_/p" -e "/ac_cv_func_/p" \