me
/
guix
Archived
1
0
Fork 0

gnu: QEMU: Unbundle dtc and slirp.

* gnu/packages/virtualization.scm (qemu)[source](snippet): Delete two more
directories.
[arguments]: Add "--enable-slirp" and "--enable-fdt" in #:configure-flags.
[inputs]: Add DTC and LIBSLIRP.
master
Marius Bakke 2022-09-11 13:32:24 +02:00
parent 2487a75d77
commit 6ef782ee22
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 9 additions and 2 deletions

View File

@ -61,6 +61,7 @@
#:use-module (gnu packages cluster)
#:use-module (gnu packages cmake)
#:use-module (gnu packages compression)
#:use-module (gnu packages containers)
#:use-module (gnu packages cross-base)
#:use-module (gnu packages curl)
#:use-module (gnu packages cyrus-sasl)
@ -172,8 +173,10 @@
(modules '((guix build utils)))
(snippet
'(begin
;; Delete the bundled meson copy.
(delete-file-recursively "meson")))))
;; Delete bundled code that we provide externally.
;; TODO: Unbundle SeaBIOS!
(for-each delete-file-recursively
'("dtc" "meson" "slirp"))))))
(outputs '("out" "static" "doc")) ;5.3 MiB of HTML docs
(build-system gnu-build-system)
(arguments
@ -190,6 +193,8 @@
(string-append "--host-cc=" gcc)
(string-append "--prefix=" out)
"--sysconfdir=/etc"
"--enable-slirp=system"
"--enable-fdt=system"
(string-append "--smbd=" out "/libexec/samba-wrapper")
"--disable-debug-info" ;for space considerations
;; The binaries need to be linked against -lrt.
@ -329,6 +334,7 @@ exec smbd $@")))
(inputs
(list alsa-lib
bash-minimal
dtc
glib
gtk+
libaio
@ -339,6 +345,7 @@ exec smbd $@")))
libjpeg-turbo
libpng
libseccomp
libslirp
liburing
libusb ;USB pass-through support
mesa