From: Miroslav Rezanina <mreza...@redhat.com> There's group of options allowing enable/disable usb devices. However, CONFIG_USB_BLUETOOTH can't be removed as there's dependency in vl.c file.
This serie allow CONFIG_USB_BLUETOOTH to be disabled. v3: - split patch to two parts v2: - patch rewritten to use usb_legacy_register Miroslav Rezanina (2): Preparation for usb-bt-dongle conditional build Make usb-bt-dongle configurable hw/bt/core.c | 23 ++++++++++++++ hw/bt/hci.c | 48 +++++++++++++++++++++++++++++ hw/usb/Makefile.objs | 3 -- hw/usb/dev-bluetooth.c | 10 +++++- include/hw/bt.h | 3 ++ include/hw/usb.h | 3 -- vl.c | 82 +++----------------------------------------------- 7 files changed, 87 insertions(+), 85 deletions(-) -- 1.8.3.1