From b1b20e41291cfd4414b6c1c36a3d880560b2aebc Mon Sep 17 00:00:00 2001 From: Dmitriy Korovkin Date: Thu, 4 Jun 2015 12:07:38 -0400 Subject: [PATCH] Conditional build of bluetooth driver uart component UART bluetooth driver build depends on CONFIG_BLUETOOTH_UART. Change-Id: I95561f8daef494507e65e7977f444d861f2dac74 Signed-off-by: Dmitriy Korovkin --- drivers/bluetooth/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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