All of lore.kernel.org
 help / color / mirror / Atom feed
* siteconfig: Clear cache before rebuilding
@ 2012-09-28 13:16 Richard Purdie
  0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2012-09-28 13:16 UTC (permalink / raw)
  To: openembedded-core

This ensures consistent build results and avoids build failures when compiler flags
change for example.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
diff --git a/meta/classes/siteconfig.bbclass b/meta/classes/siteconfig.bbclass
index ccbe5b9..2de7153 100644
--- a/meta/classes/siteconfig.bbclass
+++ b/meta/classes/siteconfig.bbclass
@@ -18,6 +18,7 @@ siteconfig_do_siteconfig_gencache () {
 		>${WORKDIR}/site_config_${MACHINE}/configure.ac
 	cd ${WORKDIR}/site_config_${MACHINE}
 	autoconf
+	rm ${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" \





^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-09-28 13:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-28 13:16 siteconfig: Clear cache before rebuilding Richard Purdie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.