gnu: linux-libre: Build virtio modules.
* gnu/packages/linux.scm (linux-libre): Build modules matching CONFIG.*VIRTIO.
This commit is contained in:
parent
7b99ba4acd
commit
f914963e47
|
@ -163,7 +163,11 @@
|
||||||
(format #t "enabling additional modules...~%")
|
(format #t "enabling additional modules...~%")
|
||||||
(substitute* ".config"
|
(substitute* ".config"
|
||||||
(("^# CONFIG_CIFS.*$")
|
(("^# CONFIG_CIFS.*$")
|
||||||
"CONFIG_CIFS=m\n"))
|
"CONFIG_CIFS=m\n")
|
||||||
|
(("^# CONFIG_([[:graph:]]*)VIRTIO([[:graph:]]*) .*$"
|
||||||
|
_ before after)
|
||||||
|
(string-append "CONFIG_" before "VIRTIO"
|
||||||
|
after "=m\n")))
|
||||||
(zero? (system* "make" "oldconfig")))
|
(zero? (system* "make" "oldconfig")))
|
||||||
|
|
||||||
;; Call the default `build' phase so `-j' is correctly
|
;; Call the default `build' phase so `-j' is correctly
|
||||||
|
|
Loading…
Reference in New Issue