package/qemu: add option to enable virtual filesystem in host qemu

Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
[Thomas: tweak option prompt]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Etienne Carriere 2018-11-22 16:21:40 +01:00 committed by Thomas Petazzoni
parent 1f1bba4a2c
commit e0f49e6484
2 changed files with 10 additions and 0 deletions

View File

@ -67,4 +67,10 @@ config BR2_PACKAGE_HOST_QEMU_VDE2
Ethernet and can be used to create virtual switches to
"plug" both physical and virtual machines in them.
config BR2_PACKAGE_HOST_QEMU_VIRTFS
bool "Virtual filesystem support"
help
Enables support for virtual filesystem in Qemu allowing
shared filesystem between Qemu and its emulated target.
endif

View File

@ -253,6 +253,10 @@ HOST_QEMU_OPTS += --enable-vde
HOST_QEMU_DEPENDENCIES += host-vde2
endif
ifdef ($(BR2_PACKAGE_HOST_QEMU_VIRTFS),y)
HOST_QEMU_OPTS += --enable-virtfs
endif
# Override CPP, as it expects to be able to call it like it'd
# call the compiler.
define HOST_QEMU_CONFIGURE_CMDS