From: Ross Burton Date: Tue, 19 Apr 2016 16:07:59 +0000 (+0100) Subject: boost: delete the build directory before rebuilding X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ff61a85642a33b27546d3d462a6b7952e2940538;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git boost: delete the build directory before rebuilding If there is an existing build directory when do enter do_compile() then delete it, as it contains the previous build. If the rebuild was caused because dependencies have changed we want to ensure that a rebuild actually happens. (From OE-Core rev: e96b6d73e0842e559810e780f20e49267ebb686e) Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-support/boost/boost.inc b/meta/recipes-support/boost/boost.inc index 982446c0683..92c7bcb215e 100644 --- a/meta/recipes-support/boost/boost.inc +++ b/meta/recipes-support/boost/boost.inc @@ -169,6 +169,7 @@ addtask do_boostconfig after do_patch before do_configure do_compile() { set -ex + rm -rf ${S}/${TARGET_SYS} bjam ${BJAM_OPTS} --prefix=${prefix} \ --exec-prefix=${exec_prefix} \ --libdir=${libdir} \