mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
package/qemu: use a system-wide slirp
Use a system-wide slirp now that we switched to the up to date
https://gitlab.freedesktop.org/slirp/libslirp
qemu already depends on libglib2 so we don't need to add any new
dependencies
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 7e237b79ad)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
c40a0a4ef6
commit
9fe1926498
@@ -58,6 +58,7 @@ comment "Networking options"
|
|||||||
|
|
||||||
config BR2_PACKAGE_QEMU_SLIRP
|
config BR2_PACKAGE_QEMU_SLIRP
|
||||||
bool "Enable user mode networking (SLIRP)"
|
bool "Enable user mode networking (SLIRP)"
|
||||||
|
select BR2_PACKAGE_SLIRP
|
||||||
help
|
help
|
||||||
Enable user mode network stack, which is the default
|
Enable user mode network stack, which is the default
|
||||||
networking backend. It requires no administrator privileges
|
networking backend. It requires no administrator privileges
|
||||||
|
|||||||
@@ -51,8 +51,10 @@ endif
|
|||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# There is no "--enable-slirp"
|
ifeq ($(BR2_PACKAGE_QEMU_SLIRP),y)
|
||||||
ifeq ($(BR2_PACKAGE_QEMU_SLIRP),)
|
QEMU_OPTS += --enable-slirp=system
|
||||||
|
QEMU_DEPENDENCIES += slirp
|
||||||
|
else
|
||||||
QEMU_OPTS += --disable-slirp
|
QEMU_OPTS += --disable-slirp
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user