diff --git a/boards/ezurio/bl5340_dvk/CMakeLists.txt b/boards/ezurio/bl5340_dvk/CMakeLists.txt deleted file mode 100644 index 84b2375f7f8..00000000000 --- a/boards/ezurio/bl5340_dvk/CMakeLists.txt +++ /dev/null @@ -1,10 +0,0 @@ -# Copyright (c) 2019 Nordic Semiconductor ASA. -# Copyright (c) 2021-2023 Laird Connectivity. -# SPDX-License-Identifier: Apache-2.0 - -if((CONFIG_BOARD_BL5340_DVK_NRF5340_CPUAPP OR CONFIG_BOARD_BL5340_DVK_NRF5340_CPUAPP_NS) - AND CONFIG_BUILD_WITH_TFM) - zephyr_library_include_directories( - $/api_ns/interface/include - ) -endif() diff --git a/boards/nordic/nrf5340_audio_dk/CMakeLists.txt b/boards/nordic/nrf5340_audio_dk/CMakeLists.txt index a83f0bf6f09..10ddfc82783 100644 --- a/boards/nordic/nrf5340_audio_dk/CMakeLists.txt +++ b/boards/nordic/nrf5340_audio_dk/CMakeLists.txt @@ -4,10 +4,4 @@ if(CONFIG_BOARD_NRF5340_AUDIO_DK_NRF5340_CPUAPP OR CONFIG_BOARD_NRF5340_AUDIO_DK_NRF5340_CPUAPP_NS) zephyr_library() zephyr_library_sources(nrf5340_audio_dk_config.c) - - if(CONFIG_BUILD_WITH_TFM) - zephyr_library_include_directories( - $/api_ns/interface/include - ) - endif() endif() diff --git a/boards/nordic/nrf5340dk/CMakeLists.txt b/boards/nordic/nrf5340dk/CMakeLists.txt deleted file mode 100644 index 7c4616785f2..00000000000 --- a/boards/nordic/nrf5340dk/CMakeLists.txt +++ /dev/null @@ -1,9 +0,0 @@ -# Copyright (c) 2019 Nordic Semiconductor ASA. -# SPDX-License-Identifier: Apache-2.0 - -if ((CONFIG_BOARD_NRF5340DK_NRF5340_CPUAPP OR CONFIG_BOARD_NRF5340DK_NRF5340_CPUAPP_NS) - AND CONFIG_BUILD_WITH_TFM) - zephyr_library_include_directories( - $/api_ns/interface/include - ) -endif()