diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2013-04-28 15:16:18 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-04-28 15:55:10 +0200 |
commit | 7d3f0711eefea2aa60d6d5b1dc4aa2eec3c97098 (patch) | |
tree | 1a0cc0fdff89043a90b07abf77cab34d1e3e0bc8 /recipes-qt/qt5/qtjsbackend.inc | |
parent | 0a88f92505f27944e985c9f54e64c04b082778fb (diff) |
qt5: move do_install modifications to shared qt5.inc and reuse do_configure
Diffstat (limited to 'recipes-qt/qt5/qtjsbackend.inc')
-rw-r--r-- | recipes-qt/qt5/qtjsbackend.inc | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/recipes-qt/qt5/qtjsbackend.inc b/recipes-qt/qt5/qtjsbackend.inc index 7d0dafd6..66ab57b0 100644 --- a/recipes-qt/qt5/qtjsbackend.inc +++ b/recipes-qt/qt5/qtjsbackend.inc @@ -17,22 +17,6 @@ SRC_URI += " \ file://0002-v8.pro-respect-external-host-bindir-when-set.patch \ " -do_configure () { - # Avoid setting QMAKE_LINK from LD (since we want the linker to be g++) - unset LD - +do_configure_append () { ${OE_QMAKE_QMAKE} ${OE_QMAKE_DEBUG_OUTPUT} -r ${S} } - -do_install_append () { - # everything except HostData and HostBinaries is prefixed with sysroot value, - # but we cannot remove sysroot override, because that's useful for pkg-config etc - cp -ra ${D}${STAGING_DIR_TARGET}/* ${D} - rm -rf ${D}${STAGING_DIR_TARGET} - # remove empty dirs - TMP=`dirname ${D}/${STAGING_DIR_TARGET}` - while test ${TMP} != ${D}; do - rmdir ${TMP} - TMP=`dirname ${TMP}`; - done -} |