diff options
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 | 8 |
2 files changed, 12 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 8de238b..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@" |
@@ -76,6 +76,11 @@ Component.prototype.createOperations = function() | |||
76 | cmakeGenerator = "MinGW Makefiles"; | 76 | cmakeGenerator = "MinGW Makefiles"; |
77 | } | 77 | } |
78 | 78 | ||
79 | component.addOperation("Execute", "{0,2}", | ||
80 | ["@SDKToolBinary@", "addAbiFlavor", | ||
81 | "--flavor", "poky", | ||
82 | "--oses", "linux"]); | ||
83 | |||
79 | component.addOperation("Execute", | 84 | component.addOperation("Execute", |
80 | ["@SDKToolBinary@", "addTC", | 85 | ["@SDKToolBinary@", "addTC", |
81 | "--id", toolchainId + ".gcc", | 86 | "--id", toolchainId + ".gcc", |
@@ -112,6 +117,7 @@ Component.prototype.createOperations = function() | |||
112 | "--name", platform + " " + target, | 117 | "--name", platform + " " + target, |
113 | "--type", "Qdb.EmbeddedLinuxQt", | 118 | "--type", "Qdb.EmbeddedLinuxQt", |
114 | "--qmake", path + "/sysroots/" + hostSysroot + "/usr/bin/qmake" + executableExt, | 119 | "--qmake", path + "/sysroots/" + hostSysroot + "/usr/bin/qmake" + executableExt, |
120 | "--abis", abi, | ||
115 | "UNDOEXECUTE", | 121 | "UNDOEXECUTE", |
116 | "@SDKToolBinary@", "rmQt", "--id", qtId]); | 122 | "@SDKToolBinary@", "rmQt", "--id", qtId]); |
117 | 123 | ||