summaryrefslogtreecommitdiffstats
path: root/files/qbsp/toolchain_installscript.qs
diff options
context:
space:
mode:
Diffstat (limited to 'files/qbsp/toolchain_installscript.qs')
-rw-r--r--files/qbsp/toolchain_installscript.qs17
1 files changed, 9 insertions, 8 deletions
diff --git a/files/qbsp/toolchain_installscript.qs b/files/qbsp/toolchain_installscript.qs
index 15e9570..4afab71 100644
--- a/files/qbsp/toolchain_installscript.qs
+++ b/files/qbsp/toolchain_installscript.qs
@@ -38,6 +38,7 @@ Component.prototype.createOperations = function()
38 var device = "@MACHINE@" 38 var device = "@MACHINE@"
39 var platform = "@NAME@" 39 var platform = "@NAME@"
40 var sysroot = "@SYSROOT@" 40 var sysroot = "@SYSROOT@"
41 var target_sys = "@TARGET_SYS@"
41 var target = "@TARGET@" 42 var target = "@TARGET@"
42 var abi = "@ABI@" 43 var abi = "@ABI@"
43 var installPath = "@INSTALLPATH@/toolchain" 44 var installPath = "@INSTALLPATH@/toolchain"
@@ -71,8 +72,8 @@ Component.prototype.createOperations = function()
71 component.addOperation("Execute", 72 component.addOperation("Execute",
72 ["@SDKToolBinary@", "addTC", 73 ["@SDKToolBinary@", "addTC",
73 "--id", toolchainId + ".gcc", 74 "--id", toolchainId + ".gcc",
74 "--name", "GCC (Boot2Qt " + platform + ")", 75 "--name", "GCC (" + platform + " " + target + ")",
75 "--path", path + "/sysroots/" + hostSysroot + "/usr/bin/" + target + "/" + target + "-gcc" + executableExt, 76 "--path", path + "/sysroots/" + hostSysroot + "/usr/bin/" + target_sys + "/" + target_sys + "-gcc" + executableExt,
76 "--abi", abi, 77 "--abi", abi,
77 "--language", "1", 78 "--language", "1",
78 "UNDOEXECUTE", 79 "UNDOEXECUTE",
@@ -81,8 +82,8 @@ Component.prototype.createOperations = function()
81 component.addOperation("Execute", 82 component.addOperation("Execute",
82 ["@SDKToolBinary@", "addTC", 83 ["@SDKToolBinary@", "addTC",
83 "--id", toolchainId + ".g++", 84 "--id", toolchainId + ".g++",
84 "--name", "G++ (Boot2Qt " + platform + ")", 85 "--name", "G++ (" + platform + " " + target + ")",
85 "--path", path + "/sysroots/" + hostSysroot + "/usr/bin/" + target + "/" + target + "-g++" + executableExt, 86 "--path", path + "/sysroots/" + hostSysroot + "/usr/bin/" + target_sys + "/" + target_sys + "-g++" + executableExt,
86 "--abi", abi, 87 "--abi", abi,
87 "--language", "2", 88 "--language", "2",
88 "UNDOEXECUTE", 89 "UNDOEXECUTE",
@@ -91,9 +92,9 @@ Component.prototype.createOperations = function()
91 component.addOperation("Execute", 92 component.addOperation("Execute",
92 ["@SDKToolBinary@", "addDebugger", 93 ["@SDKToolBinary@", "addDebugger",
93 "--id", debuggerId, 94 "--id", debuggerId,
94 "--name", "GDB (Boot2Qt " + platform + ")", 95 "--name", "GDB (" + platform + " " + target + ")",
95 "--engine", "1", 96 "--engine", "1",
96 "--binary", path + "/sysroots/" + hostSysroot + "/usr/bin/" + target + "/" + target + "-gdb" + executableExt, 97 "--binary", path + "/sysroots/" + hostSysroot + "/usr/bin/" + target_sys + "/" + target_sys + "-gdb" + executableExt,
97 "--abis", abi, 98 "--abis", abi,
98 "UNDOEXECUTE", 99 "UNDOEXECUTE",
99 "@SDKToolBinary@", "rmDebugger", "--id", debuggerId]); 100 "@SDKToolBinary@", "rmDebugger", "--id", debuggerId]);
@@ -101,7 +102,7 @@ Component.prototype.createOperations = function()
101 component.addOperation("Execute", 102 component.addOperation("Execute",
102 ["@SDKToolBinary@", "addQt", 103 ["@SDKToolBinary@", "addQt",
103 "--id", qtId, 104 "--id", qtId,
104 "--name", "Boot2Qt %{Qt:Version} " + platform, 105 "--name", platform + " " + target,
105 "--type", "Qdb.EmbeddedLinuxQt", 106 "--type", "Qdb.EmbeddedLinuxQt",
106 "--qmake", path + "/sysroots/" + hostSysroot + "/usr/bin/qmake" + executableExt, 107 "--qmake", path + "/sysroots/" + hostSysroot + "/usr/bin/qmake" + executableExt,
107 "UNDOEXECUTE", 108 "UNDOEXECUTE",
@@ -110,7 +111,7 @@ Component.prototype.createOperations = function()
110 component.addOperation("Execute", 111 component.addOperation("Execute",
111 ["@SDKToolBinary@", "addKit", 112 ["@SDKToolBinary@", "addKit",
112 "--id", basecomponent, 113 "--id", basecomponent,
113 "--name", "Boot2Qt %{Qt:Version} " + platform, 114 "--name", platform + " " + target,
114 "--mkspec", "devices/linux-oe-generic-g++", 115 "--mkspec", "devices/linux-oe-generic-g++",
115 "--qt", qtId, 116 "--qt", qtId,
116 "--debuggerid", debuggerId, 117 "--debuggerid", debuggerId,