aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/build/arch/tricore.sh9
-rwxr-xr-xscripts/config.sub1
2 files changed, 10 insertions, 0 deletions
diff --git a/scripts/build/arch/tricore.sh b/scripts/build/arch/tricore.sh
new file mode 100644
index 00000000..1051b56f
--- /dev/null
+++ b/scripts/build/arch/tricore.sh
@@ -0,0 +1,9 @@
+# Compute tricore-specific values
+
+CT_DoArchTupleValues()
+{
+ # The architecture part of the tuple:
+ CT_TARGET_ARCH="${CT_ARCH}${CT_ARCH_SUFFIX}"
+ CT_ARCH_ENDIAN_CFLAG=""
+ CT_ARCH_ENDIAN_LDFLAG=""
+}
diff --git a/scripts/config.sub b/scripts/config.sub
index 2c6a07ab..3a5a6bb8 100755
--- a/scripts/config.sub
+++ b/scripts/config.sub
@@ -1250,6 +1250,7 @@ case $cpu-$vendor in
| tahoe \
| thumbv7* \
| tic30 | tic4x | tic54x | tic55x | tic6x | tic80 \
+ | tricore \
| tron \
| ubicom32 \
| v70 | v850 | v850e | v850e1 | v850es | v850e2 | v850e2v3 \