[Buildroot] [PATCH] package/qemu: enable usb passthrough on host variant
Arnout Vandecappelle
arnout at mind.be
Fri Oct 25 20:40:14 UTC 2019
On 24/10/2019 23:30, Peter Korsgaard wrote:
>>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at bootlin.com> writes:
>
> >> +ifeq ($(BR2_PACKAGE_LIBUSB),y)
>
> > So, if the target libusb package is enabled...
>
> >> +HOST_QEMU_OPTS += --enable-libusb
> >> +HOST_QEMU_DEPENDENCIES += host-libusb
>
> > ... you assume the user wants libusb support in host-qemu.
>
> > Sorry, but this is not good. Add an option in
> > package/qemu/Config.in.host to enable USB passthrough, and use that in
> > qemu.mk.
host-libusb takes 1 second to build (*). Is it really worth to make an option
for it?
Regards,
Arnout
(*) Yes, I'm exaggerating :-)
>
> And pass --disable-libusb (if such option exists) in the else clause.
>
More information about the buildroot
mailing list