From b5a3f7532f529e7aa99e915e839a2b99a5b6b520 Mon Sep 17 00:00:00 2001 From: Gerard Marull-Paretas Date: Tue, 25 Jun 2024 13:43:27 +0200 Subject: [PATCH] boards: nrf53*: remove unnecessary TF-M includes After 6a14a0233b7eb6d66d4380992d2e292470e05a72 these TF-M includes should not be necessary. Signed-off-by: Gerard Marull-Paretas --- boards/ezurio/bl5340_dvk/CMakeLists.txt | 10 ---------- boards/nordic/nrf5340_audio_dk/CMakeLists.txt | 6 ------ boards/nordic/nrf5340dk/CMakeLists.txt | 9 --------- 3 files changed, 25 deletions(-) delete mode 100644 boards/ezurio/bl5340_dvk/CMakeLists.txt delete mode 100644 boards/nordic/nrf5340dk/CMakeLists.txt 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()