[v4,3/3] support/config-fragments: add RISC-V 32-bit to autobuild configs

Message ID 20181021191203.2148-3-mark.corbin@embecosm.com
State New
Headers show
Series
  • [v4,1/3] arch: add support for RISC-V 32-bit (riscv32) architecture
Related show

Commit Message

Mark Corbin Oct. 21, 2018, 7:12 p.m.
Add a minimal RISC-V 32-bit autobuild configuration for the
internal toolchain with glibc.

Signed-off-by: Mark Corbin <mark.corbin@embecosm.com>

---
Changes v3 -> v4:
  - set new variable BR2_RISCV_32 in br-riscv32-internal-glibc.config
---
 .../autobuild/br-riscv32-internal-glibc.config                 | 3 +++
 support/config-fragments/autobuild/toolchain-configs.csv       | 1 +
 2 files changed, 4 insertions(+)
 create mode 100644 support/config-fragments/autobuild/br-riscv32-internal-glibc.config

Comments

Matthew Weber Nov. 2, 2018, 3:09 a.m. | #1
Mark,

On Sun, Oct 21, 2018 at 2:13 PM Mark Corbin <mark.corbin@embecosm.com> wrote:
>
> Add a minimal RISC-V 32-bit autobuild configuration for the
> internal toolchain with glibc.
>
> Signed-off-by: Mark Corbin <mark.corbin@embecosm.com>


Reviewed-by: Matt Weber <matthew.weber@rockwellcollins.com>
(Tested v3 before the variable rework)


>
> ---
> Changes v3 -> v4:
>   - set new variable BR2_RISCV_32 in br-riscv32-internal-glibc.config
> ---
>  .../autobuild/br-riscv32-internal-glibc.config                 | 3 +++
>  support/config-fragments/autobuild/toolchain-configs.csv       | 1 +
>  2 files changed, 4 insertions(+)
>  create mode 100644 support/config-fragments/autobuild/br-riscv32-internal-glibc.config
>
> diff --git a/support/config-fragments/autobuild/br-riscv32-internal-glibc.config b/support/config-fragments/autobuild/br-riscv32-internal-glibc.config
> new file mode 100644
> index 0000000000..c5348a28da
> --- /dev/null
> +++ b/support/config-fragments/autobuild/br-riscv32-internal-glibc.config
> @@ -0,0 +1,3 @@
> +BR2_riscv=y
> +BR2_RISCV_32=y
> +BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
> diff --git a/support/config-fragments/autobuild/toolchain-configs.csv b/support/config-fragments/autobuild/toolchain-configs.csv
> index f24ec9ced0..3681bc519f 100644
> --- a/support/config-fragments/autobuild/toolchain-configs.csv
> +++ b/support/config-fragments/autobuild/toolchain-configs.csv
> @@ -51,6 +51,7 @@ support/config-fragments/autobuild/br-powerpc64le-power8-glibc.config,x86_64
>  support/config-fragments/autobuild/br-powerpc64-power7-glibc.config,x86_64
>  support/config-fragments/autobuild/br-powerpc-e500mc-full.config,x86_64
>  support/config-fragments/autobuild/br-powerpc-internal-full.config,any
> +support/config-fragments/autobuild/br-riscv32-internal-glibc.config,any
>  support/config-fragments/autobuild/br-riscv64-internal-glibc.config,any
>  support/config-fragments/autobuild/br-sh4-full.config,x86_64
>  support/config-fragments/autobuild/br-sparc-uclibc.config,x86_64
> --
> 2.17.1
>
> _______________________________________________
> buildroot mailing list
> buildroot@busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

Patch

diff --git a/support/config-fragments/autobuild/br-riscv32-internal-glibc.config b/support/config-fragments/autobuild/br-riscv32-internal-glibc.config
new file mode 100644
index 0000000000..c5348a28da
--- /dev/null
+++ b/support/config-fragments/autobuild/br-riscv32-internal-glibc.config
@@ -0,0 +1,3 @@ 
+BR2_riscv=y
+BR2_RISCV_32=y
+BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
diff --git a/support/config-fragments/autobuild/toolchain-configs.csv b/support/config-fragments/autobuild/toolchain-configs.csv
index f24ec9ced0..3681bc519f 100644
--- a/support/config-fragments/autobuild/toolchain-configs.csv
+++ b/support/config-fragments/autobuild/toolchain-configs.csv
@@ -51,6 +51,7 @@  support/config-fragments/autobuild/br-powerpc64le-power8-glibc.config,x86_64
 support/config-fragments/autobuild/br-powerpc64-power7-glibc.config,x86_64
 support/config-fragments/autobuild/br-powerpc-e500mc-full.config,x86_64
 support/config-fragments/autobuild/br-powerpc-internal-full.config,any
+support/config-fragments/autobuild/br-riscv32-internal-glibc.config,any
 support/config-fragments/autobuild/br-riscv64-internal-glibc.config,any
 support/config-fragments/autobuild/br-sh4-full.config,x86_64
 support/config-fragments/autobuild/br-sparc-uclibc.config,x86_64