mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-04-19 00:26:55 +00:00
Merge pull request #868 from frantony/riscv
add RISC-V architecture support
This commit is contained in:
commit
8c581c2504
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
samples/riscv32-unknown-elf/crosstool.config
Normal file
5
samples/riscv32-unknown-elf/crosstool.config
Normal 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
|
3
samples/riscv32-unknown-elf/reported.by
Normal file
3
samples/riscv32-unknown-elf/reported.by
Normal file
@ -0,0 +1,3 @@
|
||||
reporter_name="Antony Pavlov"
|
||||
reporter_url="https://github.com/frantony/crosstool-ng"
|
||||
reporter_comment=""
|
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…
x
Reference in New Issue
Block a user