summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2013-04-17 23:13:20 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2013-04-28 13:39:32 +0200
commit812c33e0c63ee3189ed5fdaac91f108712d7c5ef (patch)
tree16e5579e602529f19bb24261f924aead17cbef60
parentdef240608a0f08cd305f6dcdd9602994a92c9228 (diff)
downloadmeta-qt5-812c33e0c63ee3189ed5fdaac91f108712d7c5ef.tar.gz
qtbase: temporary disable target qmake build and add PN-mkspecs
-rw-r--r--recipes-qt/qt5/qtbase.inc28
1 files changed, 16 insertions, 12 deletions
diff --git a/recipes-qt/qt5/qtbase.inc b/recipes-qt/qt5/qtbase.inc
index f4462977..1754a24e 100644
--- a/recipes-qt/qt5/qtbase.inc
+++ b/recipes-qt/qt5/qtbase.inc
@@ -84,23 +84,27 @@ do_configure_append() {
84 84
85do_compile_append() { 85do_compile_append() {
86 # Build qmake for the target arch 86 # Build qmake for the target arch
87 cd ${S}/qmake 87 # Disable for now, because doesn't work well with separate ${B}
88 ${OE_QMAKE_QMAKE} 88 # cd ${S}/qmake
89 oe_runmake CC="${CC}" CXX="${CXX}" 89 # ${OE_QMAKE_QMAKE}
90 cd ${S} 90 # oe_runmake CC="${CC}" CXX="${CXX}"
91 # cd ${S}
91} 92}
92 93
93do_install_append() { 94do_install_append() {
94 ### Fix up the binaries to the right location 95 ### Fix up the binaries to the right location
95 ### TODO: FIX 96 ### TODO: FIX
96 install -d ${D}${bindir}/ 97 # qemu built on host breaks do_package, remove it here (will be replaces with right qemu when do_compile is fixed
97 mv ${D}/${STAGING_BINDIR_NATIVE}/* ${D}${bindir}/ 98 # ERROR: objcopy failed with exit code 1 (cmd was 'arm-oe-linux-gnueabi-objcopy' --only-keep-debug '/OE/oe-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/qtbase/5.0.1-r0.0/package/usr/bin/qmake' '/OE/oe-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/qtbase/5.0.1-r0.0/package/usr/bin/.debug/qmake')
98 rm -rf ${D}/${STAGING_BINDIR_NATIVE}/ 99 rm -f ${D}/${bindir}/qmake
99 100 mv ${D}${B}/mkspecs ${D}${libdir}/${QT_DIR_NAME}/mkspecs
100 # Install the right arch qmake 101 TMP=`dirname ${D}/${B}/mkspecs`
101 rm ${D}/${bindir}/qmake 102 while test ${TMP} != ${D}; do
102 install -m 0755 bin/qmake2 ${D}${bindir}/qmake 103 rmdir ${TMP}
104 TMP=`dirname ${TMP}`;
105 done
103} 106}
104 107
105PACKAGES =. "${PN}-fonts " 108PACKAGES =. "${PN}-fonts ${PN}-mkspecs "
106FILES_${PN}-fonts = "${libdir}/fonts" 109FILES_${PN}-fonts = "${libdir}/fonts"
110FILES_${PN}-mkspecs = "${libdir}/${QT_DIR_NAME}/mkspecs"