summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis Shienkov <denis.shienkov@gmail.com>2019-10-20 20:03:18 +0300
committerDenis Shienkov <denis.shienkov@gmail.com>2019-10-30 14:44:36 +0000
commit3b3f5e1168415fedb7b6ed6f909d952754bc0d85 (patch)
tree8ea3c6acf94952e655d3572e7930c4bd340dab65
parentd26db17396a89b8a2a0eb52b422f9af4ea0a76a1 (diff)
baremetal: Add support for Renesas RL78 architecture to GCC toolchain
This patch adds a new RL78 architecture, provided by Renesas: * https://en.wikipedia.org/wiki/RL78 Change-Id: I7679808d9b4c84ceade8dd3f76ad172f7b09140d Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
-rw-r--r--share/qbs/imports/qbs/ModUtils/utils.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/share/qbs/imports/qbs/ModUtils/utils.js b/share/qbs/imports/qbs/ModUtils/utils.js
index 5c1fb1ae5..b48b5eb94 100644
--- a/share/qbs/imports/qbs/ModUtils/utils.js
+++ b/share/qbs/imports/qbs/ModUtils/utils.js
@@ -568,6 +568,8 @@ function guessArchitecture(m) {
architecture = "avr32";
} else if (hasAnyOf(m, ["__MSP430__"])) {
architecture = "msp430";
+ } else if (hasAnyOf(m, ["__RL78__"])) {
+ architecture = "rl78";
}
}