-
-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Erlang runs on RISC-V, but it needs to be enabled in Buildroot. This enables it.
- Loading branch information
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
patches/buildroot/0013-erlang-add-RISC-V-to-the-supported-architectures.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|