aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/reference/modules/qbs-module.qdoc5
-rw-r--r--share/qbs/imports/qbs/ModUtils/utils.js2
2 files changed, 7 insertions, 0 deletions
diff --git a/doc/reference/modules/qbs-module.qdoc b/doc/reference/modules/qbs-module.qdoc
index 819d1a482..4cd2aa9be 100644
--- a/doc/reference/modules/qbs-module.qdoc
+++ b/doc/reference/modules/qbs-module.qdoc
@@ -335,6 +335,11 @@
\li 32- and 16-bit CISC microcontrollers featuring high ROM code
efficiency manufactured by Renesas Electronics
\row
+ \li \c{"m32r"}
+ \li 32-bit RISC microcontrollers for general industrial and
+ car-mounted systems, digital AV equipment, digital imaging
+ equipment manufactured by Renesas Electronics
+ \row
\li \c{"m68k"}
\li 16- and 32-bit CISC microprocessor, developed by Motorola
Semiconductor Products Sector, and further improved as ColdFire
diff --git a/share/qbs/imports/qbs/ModUtils/utils.js b/share/qbs/imports/qbs/ModUtils/utils.js
index 4433b0ded..a2091820b 100644
--- a/share/qbs/imports/qbs/ModUtils/utils.js
+++ b/share/qbs/imports/qbs/ModUtils/utils.js
@@ -580,6 +580,8 @@ function guessArchitecture(m) {
architecture = "m68k";
} else if (hasAnyOf(m, ["__m32c__"])) {
architecture = "m32c";
+ } else if (hasAnyOf(m, ["__m32r__", "__M32R__"])) {
+ architecture = "m32r";
}
}