usb: fix host-stub.c build race

Suggested-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-id: 20171004125210.7817-1-kraxel@redhat.com
This commit is contained in:
Gerd Hoffmann 2017-10-04 14:52:10 +02:00
parent 13787d59cf
commit eea6ae2037

View File

@ -47,6 +47,7 @@ common-obj-y += host-libusb.o host-legacy.o
else
common-obj-y += host-stub.o
endif
common-obj-$(CONFIG_ALL) += host-stub.o
host-libusb.o-cflags := $(LIBUSB_CFLAGS)
host-libusb.o-libs := $(LIBUSB_LIBS)