summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2013-04-28 02:14:16 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2013-04-28 13:39:57 +0200
commit38de259db85f43008db4bd2133791ee81f29a01c (patch)
tree28ae05f8bf204c736dbf69cf4edb1ef376cdd646
parent09516373c0940b60c797a922b3b3206b82e01182 (diff)
downloadmeta-qt5-38de259db85f43008db4bd2133791ee81f29a01c.tar.gz
qtjsbackend-native: Use separate build directory
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--recipes-qt/qt5/qtjsbackend-native.inc9
1 files changed, 9 insertions, 0 deletions
diff --git a/recipes-qt/qt5/qtjsbackend-native.inc b/recipes-qt/qt5/qtjsbackend-native.inc
index ea5bd86d..25de8e60 100644
--- a/recipes-qt/qt5/qtjsbackend-native.inc
+++ b/recipes-qt/qt5/qtjsbackend-native.inc
@@ -17,7 +17,16 @@ SRC_URI += "\
17# parts of the source tree with out the 'mkv8snapshot' tool if it is enabled and that will fail 17# parts of the source tree with out the 'mkv8snapshot' tool if it is enabled and that will fail
18#PARALLEL_MAKE = "" 18#PARALLEL_MAKE = ""
19 19
20SEPB = "${WORKDIR}/build"
21B = "${SEPB}"
22
20do_configure() { 23do_configure() {
24 # Similar logic is in autotools.bbclass
25 if [ -d ${B} -a "${S}" != "${B}" ] ; then
26 # Existing separate build directory, exists, remove
27 rm -rf "${B}/*"
28 fi
29
21 # Avoid setting QMAKE_LINK from LD (since we want the linker to be g++) 30 # Avoid setting QMAKE_LINK from LD (since we want the linker to be g++)
22 unset LD 31 unset LD
23 32