diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-09-28 14:16:04 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-09-28 15:15:28 +0100 |
commit | a5ff8396cad130f809f8f8da49bb38e6f80f923c (patch) | |
tree | de6199eb26f391e0ee0ee3e590cfd424bc4801e6 /meta/classes/siteconfig.bbclass | |
parent | 31ff70794ecc431431476f81c8934fff25383613 (diff) | |
download | openembedded-core-a5ff8396cad130f809f8f8da49bb38e6f80f923c.tar.gz openembedded-core-a5ff8396cad130f809f8f8da49bb38e6f80f923c.tar.bz2 openembedded-core-a5ff8396cad130f809f8f8da49bb38e6f80f923c.zip |
siteconfig: Clear cache before rebuilding
This ensures consistent build results and avoids build failures when compiler flags
change for example.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/siteconfig.bbclass')
-rw-r--r-- | meta/classes/siteconfig.bbclass | 1 |
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 () { >${WORKDIR}/site_config_${MACHINE}/configure.ac cd ${WORKDIR}/site_config_${MACHINE} autoconf + rm -f ${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" \ |