1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 05:09:24 +00:00

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 <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton
2016-04-19 17:07:59 +01:00
committed by Richard Purdie
parent a9b503b268
commit ff61a85642
+1
View File
@@ -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} \