[Buildroot] [PATCH v1 3/3] package/qemu: add usb-redir support

Romain Naour romain.naour at gmail.com
Tue Jul 7 13:37:32 UTC 2020


Le 29/06/2020 à 22:50, Jared Bents a écrit :
> update to add usb-redir support to qemu if usbredir is enabled
> 
> Signed-off-by: Jared Bents <jared.bents at rockwellcollins.com>

Reviewed-by: Romain Naour <romain.naour at gmail.com>

Best regards,
Romain

> ---
>  package/qemu/qemu.mk | 8 +++++++-
>  1 file changed, 7 insertions(+), 1 deletion(-)
> 
> diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk
> index 520547e94e..3ed5565221 100644
> --- a/package/qemu/qemu.mk
> +++ b/package/qemu/qemu.mk
> @@ -126,6 +126,13 @@ else
>  QEMU_OPTS += --disable-spice
>  endif
>  
> +ifeq ($(BR2_PACKAGE_USBREDIR),y)
> +QEMU_OPTS += --enable-usb-redir
> +QEMU_DEPENDENCIES += usbredir
> +else
> +QEMU_OPTS += --disable-usb-redir
> +endif
> +
>  # Override CPP, as it expects to be able to call it like it'd
>  # call the compiler.
>  define QEMU_CONFIGURE_CMDS
> @@ -158,7 +165,6 @@ define QEMU_CONFIGURE_CMDS
>  			--disable-docs \
>  			--disable-rbd \
>  			--disable-libiscsi \
> -			--disable-usb-redir \
>  			--disable-strip \
>  			--disable-sparse \
>  			--disable-mpath \
> 



More information about the buildroot mailing list