Skip to content

Commit

Permalink
erlang: enable RISC-V builds
Browse files Browse the repository at this point in the history
Erlang runs on RISC-V, but it needs to be enabled in Buildroot. This
enables it.
  • Loading branch information
fhunleth committed Jun 16, 2021
1 parent bcd3297 commit 1425401
Showing 1 changed file with 26 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
From 1e153ba30b93991a783e3884016b8cd2fbb15a36 Mon Sep 17 00:00:00 2001
From: Frank Hunleth <[email protected]>
Date: Thu, 29 Apr 2021 13:45:33 -0400
Subject: [PATCH] erlang: add RISC-V to the supported architectures

Signed-off-by: Frank Hunleth <[email protected]>
---
package/erlang/Config.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/erlang/Config.in b/package/erlang/Config.in
index c174dd3a74..9a43364800 100644
--- a/package/erlang/Config.in
+++ b/package/erlang/Config.in
@@ -8,7 +8,7 @@ config BR2_PACKAGE_ERLANG_ARCH_SUPPORTS
# see HOWTO/INSTALL.md for Erlang's supported platforms
# when using its native atomic ops implementation
default y if BR2_i386 || BR2_x86_64 || BR2_powerpc || \
- BR2_sparc_v9 || BR2_arm || BR2_aarch64 || BR2_mipsel
+ BR2_sparc_v9 || BR2_arm || BR2_aarch64 || BR2_mipsel || BR2_riscv
# erlang needs host-erlang
depends on BR2_PACKAGE_HOST_ERLANG_ARCH_SUPPORTS

--
2.25.1

0 comments on commit 1425401

Please sign in to comment.