summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2016-04-19 17:07:59 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-04-29 07:41:42 +0100
commitff61a85642a33b27546d3d462a6b7952e2940538 (patch)
tree7d5a6843bee2a733d684f57fdc387e6cc16035b7 /meta/recipes-support
parenta9b503b268e94d311f892fa00c5d6bd9ffdb228e (diff)
downloadpoky-ff61a85642a33b27546d3d462a6b7952e2940538.tar.gz
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>
Diffstat (limited to 'meta/recipes-support')
-rw-r--r--meta/recipes-support/boost/boost.inc1
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
169 169
170do_compile() { 170do_compile() {
171 set -ex 171 set -ex
172 rm -rf ${S}/${TARGET_SYS}
172 bjam ${BJAM_OPTS} --prefix=${prefix} \ 173 bjam ${BJAM_OPTS} --prefix=${prefix} \
173 --exec-prefix=${exec_prefix} \ 174 --exec-prefix=${exec_prefix} \
174 --libdir=${libdir} \ 175 --libdir=${libdir} \