From 09dd4d2582a116f36789433fba59a3c62463ab59 Mon Sep 17 00:00:00 2001 From: Martin Kojtal Date: Wed, 17 Feb 2021 09:15:47 +0000 Subject: [PATCH] CMake platform: remove IAR related CMakeLists Not supported --- platform/source/CMakeLists.txt | 4 +--- platform/source/TARGET_CORTEX_A/CMakeLists.txt | 10 ---------- 2 files changed, 1 insertion(+), 13 deletions(-) delete mode 100644 platform/source/TARGET_CORTEX_A/CMakeLists.txt diff --git a/platform/source/CMakeLists.txt b/platform/source/CMakeLists.txt index 90054d4cd4..0eef2eef45 100644 --- a/platform/source/CMakeLists.txt +++ b/platform/source/CMakeLists.txt @@ -1,9 +1,7 @@ # Copyright (c) 2020 ARM Limited. All rights reserved. # SPDX-License-Identifier: Apache-2.0 -if("CORTEX_A" IN_LIST MBED_TARGET_LABELS) - add_subdirectory(TARGET_CORTEX_A) -elseif("CORTEX_M" IN_LIST MBED_TARGET_LABELS) +if("CORTEX_M" IN_LIST MBED_TARGET_LABELS) add_subdirectory(TARGET_CORTEX_M) endif() diff --git a/platform/source/TARGET_CORTEX_A/CMakeLists.txt b/platform/source/TARGET_CORTEX_A/CMakeLists.txt deleted file mode 100644 index 07183f4ab7..0000000000 --- a/platform/source/TARGET_CORTEX_A/CMakeLists.txt +++ /dev/null @@ -1,10 +0,0 @@ -# Copyright (c) 2020 ARM Limited. All rights reserved. -# SPDX-License-Identifier: Apache-2.0 - -function(_mbed_get_system_init) - if(${MBED_TOOLCHAIN} STREQUAL "IAR") - target_sources(mbed-core PRIVATE TOOLCHAIN_IAR/cmain.S) - endif() -endfunction() - -_mbed_get_system_init()