Bluetooth: controller: Clean up nrf cmake include
Clean up the nRF cmake include file to remove redundant check for BT_LLL_VENDOR_NORDIC inside the file. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
parent
046bae60b6
commit
0ee81aab9a
1 changed files with 22 additions and 32 deletions
|
@ -36,54 +36,44 @@ if(CONFIG_BT_LL_SW_LEGACY)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(CONFIG_BT_LL_SW_SPLIT)
|
if(CONFIG_BT_LL_SW_SPLIT)
|
||||||
zephyr_library_sources_ifdef(
|
zephyr_library_sources(
|
||||||
CONFIG_BT_LLL_VENDOR_NORDIC
|
|
||||||
ll_sw/nordic/lll/lll.c
|
ll_sw/nordic/lll/lll.c
|
||||||
)
|
)
|
||||||
if(CONFIG_BT_BROADCASTER)
|
if(CONFIG_BT_BROADCASTER)
|
||||||
zephyr_library_sources_ifdef(
|
zephyr_library_sources(
|
||||||
CONFIG_BT_LLL_VENDOR_NORDIC
|
|
||||||
ll_sw/nordic/lll/lll_adv.c
|
ll_sw/nordic/lll/lll_adv.c
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
if(CONFIG_BT_OBSERVER)
|
if(CONFIG_BT_OBSERVER)
|
||||||
zephyr_library_sources_ifdef(
|
zephyr_library_sources(
|
||||||
CONFIG_BT_LLL_VENDOR_NORDIC
|
|
||||||
ll_sw/nordic/lll/lll_scan.c
|
ll_sw/nordic/lll/lll_scan.c
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
if(CONFIG_BT_CONN)
|
if(CONFIG_BT_CONN)
|
||||||
zephyr_library_sources_ifdef(
|
zephyr_library_sources(
|
||||||
CONFIG_BT_LLL_VENDOR_NORDIC
|
|
||||||
ll_sw/nordic/lll/lll_clock.c
|
ll_sw/nordic/lll/lll_clock.c
|
||||||
ll_sw/nordic/lll/lll_conn.c
|
ll_sw/nordic/lll/lll_conn.c
|
||||||
)
|
)
|
||||||
if(CONFIG_BT_PERIPHERAL)
|
zephyr_library_sources_ifdef(
|
||||||
zephyr_library_sources_ifdef(
|
CONFIG_BT_PERIPHERAL
|
||||||
CONFIG_BT_LLL_VENDOR_NORDIC
|
ll_sw/nordic/lll/lll_slave.c
|
||||||
ll_sw/nordic/lll/lll_slave.c
|
)
|
||||||
)
|
zephyr_library_sources_ifdef(
|
||||||
endif()
|
CONFIG_BT_CENTRAL
|
||||||
if(CONFIG_BT_CENTRAL)
|
ll_sw/nordic/lll/lll_master.c
|
||||||
zephyr_library_sources_ifdef(
|
)
|
||||||
CONFIG_BT_LLL_VENDOR_NORDIC
|
|
||||||
ll_sw/nordic/lll/lll_master.c
|
|
||||||
)
|
|
||||||
endif()
|
|
||||||
endif()
|
endif()
|
||||||
if(CONFIG_BT_LLL_VENDOR_NORDIC)
|
zephyr_library_sources_ifdef(
|
||||||
zephyr_library_include_directories(
|
CONFIG_BT_CTLR_DTM
|
||||||
ll_sw/nordic/lll
|
ll_sw/nordic/lll/lll_test.c
|
||||||
)
|
)
|
||||||
zephyr_library_sources_ifdef(
|
zephyr_library_sources_ifdef(
|
||||||
CONFIG_BT_CTLR_DTM
|
CONFIG_BT_CTLR_PROFILE_ISR
|
||||||
ll_sw/nordic/lll/lll_test.c
|
ll_sw/nordic/lll/lll_prof.c
|
||||||
)
|
)
|
||||||
zephyr_library_sources_ifdef(
|
zephyr_library_include_directories(
|
||||||
CONFIG_BT_CTLR_PROFILE_ISR
|
ll_sw/nordic/lll
|
||||||
ll_sw/nordic/lll/lll_prof.c
|
|
||||||
)
|
)
|
||||||
endif()
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
zephyr_library_sources(
|
zephyr_library_sources(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue