mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-27 05:06:39 +00:00
qemu: fix host virtfs option
Fix the build of host-qemu with virtfs enabled: fix a typo in makefile conditional and add a dependency on host-libcap as that is a dependency of virtfs support: if test "$virtfs" != no && test "$cap" = yes && test "$attr" = yes ; then virtfs=yes The virtfs configuration option was added by commit e0f49e648401 ("package/qemu: add option to enable virtual filesystem in host qemu"). Signed-off-by: Vincent Stehlé <vincent.stehle@arm.com> Cc: Etienne Carriere <etienne.carriere@linaro.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
02137d6397
commit
499dfc9410
@ -271,8 +271,11 @@ HOST_QEMU_OPTS += --enable-vde
|
|||||||
HOST_QEMU_DEPENDENCIES += host-vde2
|
HOST_QEMU_DEPENDENCIES += host-vde2
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifdef ($(BR2_PACKAGE_HOST_QEMU_VIRTFS),y)
|
ifeq ($(BR2_PACKAGE_HOST_QEMU_VIRTFS),y)
|
||||||
HOST_QEMU_OPTS += --enable-virtfs
|
HOST_QEMU_OPTS += --enable-virtfs
|
||||||
|
HOST_QEMU_DEPENDENCIES += host-libcap
|
||||||
|
else
|
||||||
|
HOST_QEMU_OPTS += --disable-virtfs
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Override CPP, as it expects to be able to call it like it'd
|
# Override CPP, as it expects to be able to call it like it'd
|
||||||
|
Loading…
x
Reference in New Issue
Block a user