add RISC-V architecture support

Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
This commit is contained in:
Antony Pavlov 2017-11-18 11:05:46 +03:00
parent 0b1595acf2
commit 69c2ca97fb
2 changed files with 15 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 @@
# Compute RISC-V-specific values
CT_DoArchTupleValues() {
CT_TARGET_ARCH="riscv${CT_ARCH_BITNESS}"
}