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:
parent
a9b503b268
commit
ff61a85642
|
@ -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} \
|
||||
|
|
Loading…
Reference in New Issue