From ff75c69df07dfb7219aaf74d7ed036c80ddbecd4 Mon Sep 17 00:00:00 2001 From: Franz Flasch Date: Fri, 19 Jan 2018 18:29:23 +0100 Subject: Add ARCH_SUPPORTS_WITH_ABI and ARCH_SUPPORTS_WITH_ARCH for riscv targets Signed-off-by: Franz Flasch --- config/arch/riscv.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/arch/riscv.in b/config/arch/riscv.in index e8c1297b..4efde976 100644 --- a/config/arch/riscv.in +++ b/config/arch/riscv.in @@ -5,6 +5,8 @@ ## ## select ARCH_SUPPORTS_32 ## select ARCH_DEFAULT_32 +## select ARCH_SUPPORTS_WITH_ABI +## select ARCH_SUPPORTS_WITH_ARCH ## select GCC_REQUIRE_7_or_later ## help The RISC-V architecture, as defined by: -- cgit v1.2.3 From 8c74cdf9dc76b47139934e6ca1707e74f4d350c8 Mon Sep 17 00:00:00 2001 From: Franz Flasch Date: Mon, 22 Jan 2018 14:16:27 +0100 Subject: Added sample for riscv-hifive1 board Signed-off-by: Franz Flasch --- samples/riscv32-hifive1-elf/crosstool.config | 6 ++++++ samples/riscv32-hifive1-elf/reported.by | 3 +++ 2 files changed, 9 insertions(+) create mode 100644 samples/riscv32-hifive1-elf/crosstool.config create mode 100644 samples/riscv32-hifive1-elf/reported.by diff --git a/samples/riscv32-hifive1-elf/crosstool.config b/samples/riscv32-hifive1-elf/crosstool.config new file mode 100644 index 00000000..1a36d31a --- /dev/null +++ b/samples/riscv32-hifive1-elf/crosstool.config @@ -0,0 +1,6 @@ +CT_EXPERIMENTAL=y +CT_ARCH_RISCV=y +CT_ARCH_ARCH="rv32ima" +CT_ARCH_ABI="ilp32" +CT_TARGET_VENDOR="" +# CT_CC_GCC_LDBL_128 is not set diff --git a/samples/riscv32-hifive1-elf/reported.by b/samples/riscv32-hifive1-elf/reported.by new file mode 100644 index 00000000..215320d7 --- /dev/null +++ b/samples/riscv32-hifive1-elf/reported.by @@ -0,0 +1,3 @@ +reporter_name="Franz Flasch" +reporter_url="https://github.com/franzflasch/crosstool-ng.git" +reporter_comment="" -- cgit v1.2.3 From c8c92496599f64a397209806fe70758b79fdd6d2 Mon Sep 17 00:00:00 2001 From: Franz Flasch Date: Mon, 22 Jan 2018 15:26:28 +0100 Subject: Added vendor string for riscv32-hifive1-elf --- samples/riscv32-hifive1-elf/crosstool.config | 2 +- samples/riscv32-hifive1-elf/reported.by | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/riscv32-hifive1-elf/crosstool.config b/samples/riscv32-hifive1-elf/crosstool.config index 1a36d31a..18f8870e 100644 --- a/samples/riscv32-hifive1-elf/crosstool.config +++ b/samples/riscv32-hifive1-elf/crosstool.config @@ -2,5 +2,5 @@ CT_EXPERIMENTAL=y CT_ARCH_RISCV=y CT_ARCH_ARCH="rv32ima" CT_ARCH_ABI="ilp32" -CT_TARGET_VENDOR="" +CT_TARGET_VENDOR="hifive1" # CT_CC_GCC_LDBL_128 is not set diff --git a/samples/riscv32-hifive1-elf/reported.by b/samples/riscv32-hifive1-elf/reported.by index 215320d7..291cc000 100644 --- a/samples/riscv32-hifive1-elf/reported.by +++ b/samples/riscv32-hifive1-elf/reported.by @@ -1,3 +1,3 @@ reporter_name="Franz Flasch" -reporter_url="https://github.com/franzflasch/crosstool-ng.git" +reporter_url="https://github.com/franzflasch/crosstool-ng" reporter_comment="" -- cgit v1.2.3