Bluetooth: Compile BR/EDR independent of BLUETOOTH_CONN check

BR/EDR sources that was compiled under BLUETOOTH_CONN
if-clause is moved out as independent conditional
compilation based on selected BR/EDR feature support.

Change-id: Iedfafc6056132654a9150ed235b245f8be62b4b1
Signed-off-by: Vinayak Chettimada <vinayak.kariappa.chettimada@nordicsemi.no>
This commit is contained in:
Vinayak Chettimada 2017-03-31 21:12:37 +02:00 committed by Johan Hedberg
parent 563fdd784b
commit 981f2d3fdb

View File

@ -20,16 +20,16 @@ ifeq ($(CONFIG_BLUETOOTH_CONN),y)
else
obj-y += smp_null.o
endif
obj-$(CONFIG_BLUETOOTH_BREDR) += keys_br.o l2cap_br.o avdtp.o sdp.o
obj-$(CONFIG_BLUETOOTH_RFCOMM) += rfcomm.o
obj-$(CONFIG_BLUETOOTH_HFP_HF) += at.o hfp_hf.o
obj-$(CONFIG_BLUETOOTH_AVDTP) += avdtp.o
obj-$(CONFIG_BLUETOOTH_A2DP) += a2dp.o
endif
obj-$(CONFIG_BLUETOOTH_HOST_CRYPTO) += crypto.o
obj-$(CONFIG_BLUETOOTH_BREDR) += keys_br.o l2cap_br.o sdp.o
obj-$(CONFIG_BLUETOOTH_RFCOMM) += rfcomm.o
obj-$(CONFIG_BLUETOOTH_HFP_HF) += at.o hfp_hf.o
obj-$(CONFIG_BLUETOOTH_AVDTP) += avdtp.o
obj-$(CONFIG_BLUETOOTH_A2DP) += a2dp.o