diff --git a/drivers/bluetooth/Makefile b/drivers/bluetooth/Makefile index 1c23a71cc4a..8904b000184 100644 --- a/drivers/bluetooth/Makefile +++ b/drivers/bluetooth/Makefile @@ -3,4 +3,4 @@ ccflags-y +=-I$(srctree)/arch/$(ARCH) ccflags-y +=-I$(srctree)/arch/$(ARCH)/$(strip $(CONFIG_BSP_DIR)) -obj-y=uart.o +obj-$(CONFIG_BLUETOOTH_UART)=uart.o