Merge pull request #868 from frantony/riscv

add RISC-V architecture support
This commit is contained in:
Alexey Neyman 2017-11-19 21:44:22 -08:00 committed by GitHub
commit 8c581c2504
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 23 additions and 0 deletions

10
config/arch/riscv.in Normal file
View File

@ -0,0 +1,10 @@
# RISC-V specific config options
## depends on EXPERIMENTAL
##
## select ARCH_SUPPORTS_32
## select ARCH_DEFAULT_32
## select GCC_REQUIRE_7_or_later
## help The RISC-V architecture, as defined by:
## help http://www.riscv.org/

View File

@ -0,0 +1,5 @@
CT_EXPERIMENTAL=y
CT_ARCH_RISCV=y
CT_TARGET_VENDOR=""
CT_LIBC_NONE=y
# CT_CC_GCC_LDBL_128 is not set

View File

@ -0,0 +1,3 @@
reporter_name="Antony Pavlov"
reporter_url="https://github.com/frantony/crosstool-ng"
reporter_comment=""

View File

@ -0,0 +1,5 @@
# Compute RISC-V-specific values
CT_DoArchTupleValues() {
CT_TARGET_ARCH="riscv${CT_ARCH_BITNESS}"
}