From d9d504366725d74115105eec51844af9543855a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Wed, 28 Aug 2024 15:29:21 +0200 Subject: [PATCH] Bluetooth: Controller: Use BT_LLL_VENDOR_* to selectively build LLL MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CONFIG_SOC_COMPATIBLE_* is not configurable but CONFIG_BT_LLL_VENDOR_* is. This allows an alternate LLL to be built on nordic and OpenISA chips. Signed-off-by: Félix Piédallu --- subsys/bluetooth/controller/CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/subsys/bluetooth/controller/CMakeLists.txt b/subsys/bluetooth/controller/CMakeLists.txt index 6906ed1061a..86b9f4bd8cf 100644 --- a/subsys/bluetooth/controller/CMakeLists.txt +++ b/subsys/bluetooth/controller/CMakeLists.txt @@ -182,13 +182,13 @@ zephyr_library_include_directories_ifdef( ) zephyr_library_include_directories_ifdef( - CONFIG_SOC_COMPATIBLE_NRF + CONFIG_BT_LLL_VENDOR_NORDIC ll_sw/nordic ll_sw/nordic/hci ) zephyr_library_include_directories_ifdef( - CONFIG_SOC_OPENISA_RV32M1 + CONFIG_BT_LLL_VENDOR_OPENISA ll_sw/openisa ll_sw/openisa/hci ) @@ -199,12 +199,12 @@ add_subdirectory_ifdef( ) add_subdirectory_ifdef( - CONFIG_SOC_COMPATIBLE_NRF + CONFIG_BT_LLL_VENDOR_NORDIC ll_sw/nordic ) add_subdirectory_ifdef( - CONFIG_SOC_OPENISA_RV32M1 + CONFIG_BT_LLL_VENDOR_OPENISA ll_sw/openisa )