Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
13 lines
468 B
Diff
13 lines
468 B
Diff
diff --git a/module/system/base/target.scm b/module/system/base/target.scm
|
|
index 95ab8d8c9..93616f4a3 100644
|
|
--- a/module/system/base/target.scm
|
|
+++ b/module/system/base/target.scm
|
|
@@ -86,6 +86,8 @@
|
|
(endianness big))
|
|
((string=? "aarch64" cpu)
|
|
(endianness little))
|
|
+ ((string-match "riscv[1-9][0-9]*" cpu)
|
|
+ (endianness little))
|
|
(else
|
|
(error "unknown CPU endianness" cpu)))))
|
|
|