On 2019-01-15 15:10, Yang Zhong wrote: > From: Paolo Bonzini <pbonz...@redhat.com> > > Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> > Signed-off-by: Yang Zhong <yang.zh...@intel.com> > Reviewed-by: Thomas Huth <th...@redhat.com> > --- > hw/Makefile.objs | 2 +- > hw/usb/Kconfig | 1 + > 2 files changed, 2 insertions(+), 1 deletion(-) > > diff --git a/hw/Makefile.objs b/hw/Makefile.objs > index 39d882af6f..b95b0c74a1 100644 > --- a/hw/Makefile.objs > +++ b/hw/Makefile.objs > @@ -3,7 +3,7 @@ devices-dirs-$(CONFIG_SOFTMMU) += acpi/ > devices-dirs-$(CONFIG_SOFTMMU) += adc/ > devices-dirs-$(CONFIG_SOFTMMU) += audio/ > devices-dirs-$(CONFIG_SOFTMMU) += block/ > -devices-dirs-$(CONFIG_SOFTMMU) += bt/ > +devices-dirs-$(CONFIG_BLUETOOTH) += bt/
Note that bluetooth currently can not be disabled yet (code in vl.c still calls some functions in hw/bt/), so we might need to keep the bt folder always enabled here for now, to be able to compile boards that do not include the bt-hci device. Thomas