summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Schulz <david.schulz@theqtcompany.com>2016-02-08 14:21:56 +0100
committerDavid Schulz <david.schulz@theqtcompany.com>2016-02-08 14:00:18 +0000
commit95549f64bb26b7a27ed27028309fd3760dde5f83 (patch)
tree29244cb5acd64cffbaff58ee4c734886464158ca
parent53f534748a7f5427ade4f9a11f8b5f91798d8ed6 (diff)
downloadmeta-qt5-95549f64bb26b7a27ed27028309fd3760dde5f83.tar.gz
Do not add -target to a cross build qmake.
Otherwise qmake isn't installed correctly to the sysroot. Change-Id: If4883471d99e036be405018dcd8441b7b507283e Reviewed-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
-rw-r--r--recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch6
-rw-r--r--recipes-qt/qt5/qtbase/0002-configure-Separate-host-and-build-platform.patch2
2 files changed, 2 insertions, 6 deletions
diff --git a/recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch b/recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch
index 93cc1388..b9e41ab5 100644
--- a/recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch
+++ b/recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch
@@ -37,10 +37,6 @@ Subject: [PATCH 1/9] Add linux-oe-g++ platform
37 /bin/sh: line 0: test: -gt: unary operator expected 37 /bin/sh: line 0: test: -gt: unary operator expected
38 which are not fatal, but still misleading in do_configure output 38 which are not fatal, but still misleading in do_configure output
39 39
40* add -target suffix to qmake built in qtbase configure, this way we can
41 use qmake from qtbase-native, but then include qmake built for target
42 in qtbase-tools package (smilarly for nativesdk-qtbase).
43
44Upstream-Status: Inappropriate [embedded specific] 40Upstream-Status: Inappropriate [embedded specific]
45 too OE specific, probably cannot be upstreamed 41 too OE specific, probably cannot be upstreamed
46 42
@@ -184,7 +180,7 @@ index 16e8fb4..9897fe6 100755
184 \"\$(SOURCE_PATH)/src/corelib/io/qfsfileengine_unix.cpp\" \ 180 \"\$(SOURCE_PATH)/src/corelib/io/qfsfileengine_unix.cpp\" \
185 \"\$(SOURCE_PATH)/src/corelib/tools/qlocale_unix.cpp\"" 181 \"\$(SOURCE_PATH)/src/corelib/tools/qlocale_unix.cpp\""
186 EXEEXT= 182 EXEEXT=
187+ [ "$QT_CROSS_COMPILE" = "yes" ] && EXEEXT=-target 183+
188 fi 184 fi
189 if [ "$BUILD_ON_MAC" = "yes" ]; then 185 if [ "$BUILD_ON_MAC" = "yes" ]; then
190 echo "COCOA_LFLAGS =-framework Foundation -framework CoreServices" >>"$mkfile" 186 echo "COCOA_LFLAGS =-framework Foundation -framework CoreServices" >>"$mkfile"
diff --git a/recipes-qt/qt5/qtbase/0002-configure-Separate-host-and-build-platform.patch b/recipes-qt/qt5/qtbase/0002-configure-Separate-host-and-build-platform.patch
index 4ff1643f..557cffa8 100644
--- a/recipes-qt/qt5/qtbase/0002-configure-Separate-host-and-build-platform.patch
+++ b/recipes-qt/qt5/qtbase/0002-configure-Separate-host-and-build-platform.patch
@@ -254,7 +254,7 @@ index 52c1be2..6b89d34 100755
254@@ -4068,7 +4103,8 @@ \"\$(SOURCE_PATH)/src/corelib/io/qfsfileengine_unix.cpp\" 254@@ -4068,7 +4103,8 @@ \"\$(SOURCE_PATH)/src/corelib/io/qfsfileengine_unix.cpp\"
255 \"\$(SOURCE_PATH)/src/corelib/tools/qlocale_unix.cpp\"" 255 \"\$(SOURCE_PATH)/src/corelib/tools/qlocale_unix.cpp\""
256 EXEEXT= 256 EXEEXT=
257 [ "$QT_CROSS_COMPILE" = "yes" ] && EXEEXT=-target 257
258- fi 258- fi
259+ ;; 259+ ;;
260+ esac 260+ esac