diff options
author | Ross Burton <ross.burton@intel.com> | 2016-04-19 17:07:59 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-04-29 07:34:10 +0100 |
commit | e96b6d73e0842e559810e780f20e49267ebb686e (patch) | |
tree | 4cc760621c47f1d34e8f377554680484345d47a9 /meta/recipes-support/boost | |
parent | e2dbe5eb869b8336b91023b83d7ca866197efa73 (diff) | |
download | openembedded-core-e96b6d73e0842e559810e780f20e49267ebb686e.tar.gz openembedded-core-e96b6d73e0842e559810e780f20e49267ebb686e.tar.bz2 openembedded-core-e96b6d73e0842e559810e780f20e49267ebb686e.zip |
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.
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-support/boost')
-rw-r--r-- | meta/recipes-support/boost/boost.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-support/boost/boost.inc b/meta/recipes-support/boost/boost.inc index 982446c068..92c7bcb215 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} \ |