mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-25 15:31:05 +00:00
add RISC-V architecture support
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
This commit is contained in:
parent
0b1595acf2
commit
69c2ca97fb
10
config/arch/riscv.in
Normal file
10
config/arch/riscv.in
Normal 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/
|
5
scripts/build/arch/riscv.sh
Normal file
5
scripts/build/arch/riscv.sh
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# Compute RISC-V-specific values
|
||||||
|
|
||||||
|
CT_DoArchTupleValues() {
|
||||||
|
CT_TARGET_ARCH="riscv${CT_ARCH_BITNESS}"
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user