gnu: linux-libre: Build virtio modules.

* gnu/packages/linux.scm (linux-libre): Build modules matching
  CONFIG.*VIRTIO.
This commit is contained in:
Ludovic Courtès 2014-01-29 23:42:36 +01:00
parent 7b99ba4acd
commit f914963e47
1 changed files with 5 additions and 1 deletions

View File

@ -163,7 +163,11 @@
(format #t "enabling additional modules...~%")
(substitute* ".config"
(("^# 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")))
;; Call the default `build' phase so `-j' is correctly