usb: Fix usb-host build
PATCH 1/1 usb: Fix usb-host build
From: Jan Kiszka <[email protected]>
This reverts the incorrect commit 2041649f0b04 (these are machine-independent objects) and fixes the name of the config var.
--- hw/usb/Makefile.objs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
hw/usb/Makefile.objs +1 -1
@@ -38,7 +38,7 @@ endif common-obj-$(CONFIG_USB_REDIR) += redirect.o quirks.o # usb pass-through -ifeq ($(CONFIG_LIBUSB)$(CONFIG_USB),yy) +ifeq ($(CONFIG_USB_LIBUSB),y) common-obj-y += host-libusb.o host-legacy.o else common-obj-y += host-stub.o
Signature · 1 line
2.12.3
Gerd, ping? If you provide a reviewed-by or acked-by I can apply this to master as a buildfix...
thanks
-- PMM
Quoted 25 lines · Jan Kiszka
From: Jan Kiszka <[email protected]>
This reverts the incorrect commit
2041649f0b04(these are machine-independent objects) and fixes the name of the config var.Signed-off-by Jan Kiszka <[email protected]>--- hw/usb/Makefile.objs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)hw/usb/Makefile.objs +1
-2@@ -38,7 +38,7 @@ endif common-obj-$(CONFIG_USB_REDIR) += redirect.o quirks.o # usb pass-through -ifeq ($(CONFIG_LIBUSB)$(CONFIG_USB),yy) +ifeq ($(CONFIG_USB_LIBUSB),y) common-obj-y += host-libusb.o host-legacy.o else common-obj-y += host-stub.o --2.12.3
Quoted 12 lines · Peter Maydell
Gerd, ping? If you provide a reviewed-by or acked-by I can apply this to master as a buildfix...
thanks
-- PMMQuoted 4 lines · Jan Kiszka
From: Jan Kiszka <[email protected]>
This reverts the incorrect commit
2041649f0b04(these are machine-independent objects)
Commit is correct. The objects are machine-independent indeed, but not all machines need it. s390x (host) doesn't support usb in the first place, so usb-passthrough is rather pointless. So this drops the compiled object files from the list for the linker ...
Quoted 1 line
Quoted 1 line
and fixes the name of the config var.
That one is needed.
cheers,
Gerd