diff options
author | Fam Zheng <famz@redhat.com> | 2017-09-07 16:29:17 +0800 |
---|---|---|
committer | Fam Zheng <famz@redhat.com> | 2017-09-22 10:20:34 +0800 |
commit | b878b652df08360e5440710acf987d6b6ab945b7 (patch) | |
tree | 35914df5f7242aa3ba22e43d778745a11dd716bd /hw/usb | |
parent | 7b62bf5a701069b14a083de9af7e971e7603b36c (diff) | |
download | qemu-b878b652df08360e5440710acf987d6b6ab945b7.zip |
buildsys: Move libusb cflags/libs to per object
Signed-off-by: Fam Zheng <famz@redhat.com>
Message-Id: <20170907082918.7299-9-famz@redhat.com>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Fam Zheng <famz@redhat.com>
Diffstat (limited to 'hw/usb')
-rw-r--r-- | hw/usb/Makefile.objs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/usb/Makefile.objs b/hw/usb/Makefile.objs index 9aceb6cc3d..05afbd36fa 100644 --- a/hw/usb/Makefile.objs +++ b/hw/usb/Makefile.objs @@ -46,6 +46,11 @@ else common-obj-y += host-stub.o endif +host-libusb.o-cflags := $(LIBUSB_CFLAGS) +host-libusb.o-libs := $(LIBUSB_LIBS) + ifeq ($(CONFIG_USB_LIBUSB),y) common-obj-$(CONFIG_XEN) += xen-usb.o +xen-usb.o-cflags := $(LIBUSB_CFLAGS) +xen-usb.o-libs := $(LIBUSB_LIBS) endif |