qtjsbackend-native: Use separate build directory
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
parent
09516373c0
commit
38de259db8
|
@ -17,7 +17,16 @@ SRC_URI += "\
|
||||||
# parts of the source tree with out the 'mkv8snapshot' tool if it is enabled and that will fail
|
# parts of the source tree with out the 'mkv8snapshot' tool if it is enabled and that will fail
|
||||||
#PARALLEL_MAKE = ""
|
#PARALLEL_MAKE = ""
|
||||||
|
|
||||||
|
SEPB = "${WORKDIR}/build"
|
||||||
|
B = "${SEPB}"
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
|
# Similar logic is in autotools.bbclass
|
||||||
|
if [ -d ${B} -a "${S}" != "${B}" ] ; then
|
||||||
|
# Existing separate build directory, exists, remove
|
||||||
|
rm -rf "${B}/*"
|
||||||
|
fi
|
||||||
|
|
||||||
# Avoid setting QMAKE_LINK from LD (since we want the linker to be g++)
|
# Avoid setting QMAKE_LINK from LD (since we want the linker to be g++)
|
||||||
unset LD
|
unset LD
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue