[oe-commits] [openembedded-core] 06/41: boost: delete the build directory before rebuilding

git at git.openembedded.org git at git.openembedded.org
Tue Apr 26 10:28:56 UTC 2016


rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit acc321c27ddfa05495c29cda47d3ae29ef08e289
Author: Ross Burton <ross.burton at intel.com>
AuthorDate: Tue Apr 19 17:07:59 2016 +0100

    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 at intel.com>
---
 meta/recipes-support/boost/boost.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-support/boost/boost.inc b/meta/recipes-support/boost/boost.inc
index 982446c..92c7bcb 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} \

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list