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 diff --git a/config/arch/riscv.in b/config/arch/riscv.in index e8c1297..4efde97 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 v0.10.2-6-g49f6 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 diff --git a/samples/riscv32-hifive1-elf/crosstool.config b/samples/riscv32-hifive1-elf/crosstool.config new file mode 100644 index 0000000..1a36d31 --- /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 0000000..215320d --- /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 v0.10.2-6-g49f6 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 diff --git a/samples/riscv32-hifive1-elf/crosstool.config b/samples/riscv32-hifive1-elf/crosstool.config index 1a36d31..18f8870 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 215320d..291cc00 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 v0.10.2-6-g49f6