diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2013-04-28 02:14:16 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-04-28 13:39:57 +0200 |
commit | 38de259db85f43008db4bd2133791ee81f29a01c (patch) | |
tree | 28ae05f8bf204c736dbf69cf4edb1ef376cdd646 | |
parent | 09516373c0940b60c797a922b3b3206b82e01182 (diff) | |
download | meta-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.inc | 9 |
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 | ||
20 | SEPB = "${WORKDIR}/build" | ||
21 | B = "${SEPB}" | ||
22 | |||
20 | do_configure() { | 23 | do_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 | ||