package/qemu: use libusb (for usb passthrough) if it's selected
This allows sharing a host USB port with the guest, which is helpful for the upcoming libvirt package. Signed-off-by: Carlos Santos <unixmania@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
d9e5c2b627
commit
29f26fd6f4
@ -97,6 +97,13 @@ else
|
|||||||
QEMU_OPTS += --disable-libssh2
|
QEMU_OPTS += --disable-libssh2
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_LIBUSB),y)
|
||||||
|
QEMU_OPTS += --enable-libusb
|
||||||
|
QEMU_DEPENDENCIES += libusb
|
||||||
|
else
|
||||||
|
QEMU_OPTS += --disable-libusb
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_NETTLE),y)
|
ifeq ($(BR2_PACKAGE_NETTLE),y)
|
||||||
QEMU_OPTS += --enable-nettle
|
QEMU_OPTS += --enable-nettle
|
||||||
QEMU_DEPENDENCIES += nettle
|
QEMU_DEPENDENCIES += nettle
|
||||||
|
Loading…
Reference in New Issue
Block a user