diff options
author | Mikko Gronoff <mikko.gronoff@qt.io> | 2019-01-11 09:27:20 +0200 |
---|---|---|
committer | Mikko Gronoff <mikko.gronoff@qt.io> | 2019-01-11 09:28:01 +0200 |
commit | 75e93a6ecb121d9aa0ee4aa986b3eef0dd20ea22 (patch) | |
tree | 9c50c69852153a629d6507925c198ab09502ee4d /meta-boot2qt/files | |
parent | ff68de7e1d41b2cd81b0ffd16759d2c738554705 (diff) | |
parent | b97117dfe83a5b73e8d27c6818902e0d1cfca7ba (diff) | |
download | meta-boot2qt-75e93a6ecb121d9aa0ee4aa986b3eef0dd20ea22.tar.gz |
Merge remote-tracking branch 'origin/QtAS-5.12.0' into sumo
* origin/QtAS-5.12.0:
b97117d automotive: update revisions
4281e5b automotive: update revisions
b344daf automotive: update neptune 3 revision
a143fbc Use ABI flavor with QtCreator
9ee5a7f QBSP: add correct cmake generator for windows toolchain
8fcf3a1 meta-qt5: update revision
0385367 Merge commit 'origin/sumo' into QtAS-5.12.0
9a57170 automotive: update revisions
Conflicts:
scripts/manifest.xml
Change-Id: I3064a526fd7861ea1aa0ec9b42c016c74dbc23eb
Diffstat (limited to 'meta-boot2qt/files')
-rwxr-xr-x | meta-boot2qt/files/configure-qtcreator.sh | 6 | ||||
-rw-r--r-- | meta-boot2qt/files/qbsp/toolchain_installscript.qs | 9 |
2 files changed, 13 insertions, 2 deletions
diff --git a/meta-boot2qt/files/configure-qtcreator.sh b/meta-boot2qt/files/configure-qtcreator.sh index a7ea288..6899fc3 100755 --- a/meta-boot2qt/files/configure-qtcreator.sh +++ b/meta-boot2qt/files/configure-qtcreator.sh | |||
@@ -30,7 +30,7 @@ | |||
30 | 30 | ||
31 | set -e | 31 | set -e |
32 | 32 | ||
33 | ABI="arm-linux-generic-elf-32bit" | 33 | ABI="arm-linux-poky-elf-32bit" |
34 | CONFIG="" | 34 | CONFIG="" |
35 | 35 | ||
36 | printUsage () | 36 | printUsage () |
@@ -107,6 +107,10 @@ if [ -n "${REMOVEONLY}" ]; then | |||
107 | exit 0 | 107 | exit 0 |
108 | fi | 108 | fi |
109 | 109 | ||
110 | ${SDKTOOL} addAbiFlavor \ | ||
111 | --flavor poky \ | ||
112 | --oses linux || true | ||
113 | |||
110 | ${SDKTOOL} addTC \ | 114 | ${SDKTOOL} addTC \ |
111 | --id "ProjectExplorer.ToolChain.Gcc:${BASEID}.gcc" \ | 115 | --id "ProjectExplorer.ToolChain.Gcc:${BASEID}.gcc" \ |
112 | --name "GCC (${NAME})" \ | 116 | --name "GCC (${NAME})" \ |
diff --git a/meta-boot2qt/files/qbsp/toolchain_installscript.qs b/meta-boot2qt/files/qbsp/toolchain_installscript.qs index 4d25bf7..32c14e0 100644 --- a/meta-boot2qt/files/qbsp/toolchain_installscript.qs +++ b/meta-boot2qt/files/qbsp/toolchain_installscript.qs | |||
@@ -40,7 +40,7 @@ Component.prototype.createOperations = function() | |||
40 | var sysroot = "@SYSROOT@" | 40 | var sysroot = "@SYSROOT@" |
41 | var target_sys = "@TARGET_SYS@" | 41 | var target_sys = "@TARGET_SYS@" |
42 | var target = "@TARGET@" | 42 | var target = "@TARGET@" |
43 | var abi = "@ABI@" | 43 | var abi = "@ABI@-linux-poky-elf-@BITS@bit" |
44 | var installPath = "@INSTALLPATH@/toolchain" | 44 | var installPath = "@INSTALLPATH@/toolchain" |
45 | var sdkPath = "@SDKPATH@" | 45 | var sdkPath = "@SDKPATH@" |
46 | var sdkFile = "@SDKFILE@" | 46 | var sdkFile = "@SDKFILE@" |
@@ -73,8 +73,14 @@ Component.prototype.createOperations = function() | |||
73 | executableExt = ".exe"; | 73 | executableExt = ".exe"; |
74 | hostSysroot = "i686-pokysdk-mingw32"; | 74 | hostSysroot = "i686-pokysdk-mingw32"; |
75 | toolchainId = "ProjectExplorer.ToolChain.Mingw:" + component.name; | 75 | toolchainId = "ProjectExplorer.ToolChain.Mingw:" + component.name; |
76 | cmakeGenerator = "MinGW Makefiles"; | ||
76 | } | 77 | } |
77 | 78 | ||
79 | component.addOperation("Execute", "{0,2}", | ||
80 | ["@SDKToolBinary@", "addAbiFlavor", | ||
81 | "--flavor", "poky", | ||
82 | "--oses", "linux"]); | ||
83 | |||
78 | component.addOperation("Execute", | 84 | component.addOperation("Execute", |
79 | ["@SDKToolBinary@", "addTC", | 85 | ["@SDKToolBinary@", "addTC", |
80 | "--id", toolchainId + ".gcc", | 86 | "--id", toolchainId + ".gcc", |
@@ -111,6 +117,7 @@ Component.prototype.createOperations = function() | |||
111 | "--name", platform + " " + target, | 117 | "--name", platform + " " + target, |
112 | "--type", "Qdb.EmbeddedLinuxQt", | 118 | "--type", "Qdb.EmbeddedLinuxQt", |
113 | "--qmake", path + "/sysroots/" + hostSysroot + "/usr/bin/qmake" + executableExt, | 119 | "--qmake", path + "/sysroots/" + hostSysroot + "/usr/bin/qmake" + executableExt, |
120 | "--abis", abi, | ||
114 | "UNDOEXECUTE", | 121 | "UNDOEXECUTE", |
115 | "@SDKToolBinary@", "rmQt", "--id", qtId]); | 122 | "@SDKToolBinary@", "rmQt", "--id", qtId]); |
116 | 123 | ||