aboutsummaryrefslogtreecommitdiff
path: root/scripts/build
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-11-19 21:44:22 -0800
committerGitHub <noreply@github.com>2017-11-19 21:44:22 -0800
commit8c581c25042301ee0ec4169e6fc3213d7f8cb35b (patch)
tree18c6d1e5284152da3707a7c458c71ed427966034 /scripts/build
parent0b1595acf2cc60218f479fd310cce10d96df3094 (diff)
parentcc342748ce231a860d46300363a789cfc330c002 (diff)
downloadcrosstool-ng-8c581c25042301ee0ec4169e6fc3213d7f8cb35b.tar.gz
crosstool-ng-8c581c25042301ee0ec4169e6fc3213d7f8cb35b.tar.bz2
crosstool-ng-8c581c25042301ee0ec4169e6fc3213d7f8cb35b.zip
Merge pull request #868 from frantony/riscv
add RISC-V architecture support
Diffstat (limited to 'scripts/build')
-rw-r--r--scripts/build/arch/riscv.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/build/arch/riscv.sh b/scripts/build/arch/riscv.sh
new file mode 100644
index 00000000..a0a5ba4f
--- /dev/null
+++ b/scripts/build/arch/riscv.sh
@@ -0,0 +1,5 @@
+# Compute RISC-V-specific values
+
+CT_DoArchTupleValues() {
+ CT_TARGET_ARCH="riscv${CT_ARCH_BITNESS}"
+}