summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2013-04-23 00:58:55 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2013-04-28 13:39:33 +0200
commit9fddbb70bdc71c5aa7feb93e62fa9da45e1230cc (patch)
treedd7373b019efe0c30e7326c578afa6bd88284515
parenta86304a384189115e79351c5c86d192f679ee9cd (diff)
downloadmeta-qt5-9fddbb70bdc71c5aa7feb93e62fa9da45e1230cc.tar.gz
qtjsbackend: Fix SEPB build and work around wrong mkspec install path
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--recipes-qt/qt5/qtjsbackend.inc16
1 files changed, 9 insertions, 7 deletions
diff --git a/recipes-qt/qt5/qtjsbackend.inc b/recipes-qt/qt5/qtjsbackend.inc
index 3ee10178..13a5df51 100644
--- a/recipes-qt/qt5/qtjsbackend.inc
+++ b/recipes-qt/qt5/qtjsbackend.inc
@@ -11,7 +11,6 @@ INC_PR = "r0"
11inherit qmake5 11inherit qmake5
12 12
13SRC_URI += " \ 13SRC_URI += " \
14 file://module_qmake.conf \
15 file://0002-Make-sure-that-we-pick-up-the-mkv8snapshot-tool.patch \ 14 file://0002-Make-sure-that-we-pick-up-the-mkv8snapshot-tool.patch \
16" 15"
17 16
@@ -19,15 +18,18 @@ SRC_URI += " \
19# parts of the source tree with out the 'mkv8snapshot' tool if it is enabled and that will fail 18# parts of the source tree with out the 'mkv8snapshot' tool if it is enabled and that will fail
20PARALLEL_MAKE = "" 19PARALLEL_MAKE = ""
21 20
22export QT_CONF_PATH="${WORKDIR}/qt.conf"
23
24do_configure () { 21do_configure () {
25 # Avoid setting QMAKE_LINK from LD (since we want the linker to be g++) 22 # Avoid setting QMAKE_LINK from LD (since we want the linker to be g++)
26 unset LD 23 unset LD
27 24
28 # This should not be needed. Perhaps the lack of this file is an indication 25 ${OE_QMAKE_QMAKE} -r -d ${S}
29 # of an error on the native recipe... 26}
30 cp ${WORKDIR}/module_qmake.conf ${S}/.qmake.conf
31 27
32 ${OE_QMAKE_QMAKE} -r -d 28do_install_append () {
29 mv ${D}${QMAKE_MKSPEC_PATH}/mkspecs ${D}${libdir}/${QT_DIR_NAME}/mkspecs
30 TMP=`dirname ${D}/${QMAKE_MKSPEC_PATH}/mkspecs`
31 while test ${TMP} != ${D}; do
32 rmdir ${TMP}
33 TMP=`dirname ${TMP}`;
34 done
33} 35}