summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--module/system/base/target.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/module/system/base/target.scm b/module/system/base/target.scm
index fbead44aa..105c581b5 100644
--- a/module/system/base/target.scm
+++ b/module/system/base/target.scm
@@ -80,6 +80,8 @@
(endianness big))
((string=? "aarch64" cpu)
(endianness little))
+ ((string-match "riscv[1-9][0-9]*" cpu)
+ (endianness little))
(else
(error "unknown CPU endianness" cpu)))))