aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZheng Junjie <zhengjunjie@iscas.ac.cn>2024-03-19 23:18:38 +0800
committerLudovic Courtès <ludo@gnu.org>2024-03-31 22:27:41 +0200
commitf72887f6f92b948dd84846770ab76ae2cee8eda4 (patch)
tree911dd0f4ce2ec01481b3cb535649bfc571d3e381
parentad9832f82e525834db2221ae462f2b7a6709fc05 (diff)
downloadguix-f72887f6f92b948dd84846770ab76ae2cee8eda4.tar
guix-f72887f6f92b948dd84846770ab76ae2cee8eda4.tar.gz
gnu: linux-libre-riscv64-generic: add more options.
This is required by `guix system vm'. * gnu/packages/linux (linux-libre-riscv64-generic)[#:extra-options]: Add more option. Change-Id: I5697ba7158d44ef0ea9cf28cadb4d59f312b4206 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--gnu/packages/linux.scm19
1 files changed, 18 insertions, 1 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index f22463f34d..2c6df78518 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -1348,7 +1348,24 @@ Linux kernel. It has been modified to remove all non-free binary blobs.")
linux-libre-gnu-revision
linux-libre-source
'("riscv64-linux")
- #:extra-version "riscv64-generic"))
+ #:extra-version "riscv64-generic"
+ #:extra-options
+ (append
+ ;; required `guix system vm'
+ `(("CONFIG_USB_HID" . m)
+ ("CONFIG_HID_GEMBIRD" . m)
+ ("CONFIG_AHCI_DWC" . m)
+ ("CONFIG_SATA_AHCI" . m)
+ ("CONFIG_CRYPTO_SERPENT" . m)
+ ("CONFIG_CRYPTO_WP512" . m)
+ ("CONFIG_USB_UAS" . m)
+ ("CONFIG_USB_STORAGE" . m)
+ ("CONFIG_HID_GENERIC" . m)
+ ("CONFIG_DRM_CIRRUS_QEMU" . m)
+ ("CONFIG_HW_RANDOM_VIRTIO" . m)
+ ("CONFIG_VIRTIO_CONSOLE" . m)
+ ("CONFIG_CRYPTO_XTS" . m))
+ %default-extra-linux-options)))
(define-public linux-libre-mips64el-fuloong2e
(make-linux-libre* linux-libre-version