CMake cmsis: revert object for cmsis-cortex-x libs

These are part of cmsis + core, they only extend them thus reverting the change back to
INTERFACE lib.
pull/14427/head
Martin Kojtal 2021-03-02 09:33:08 +00:00
parent 11fedeb7d9
commit 1850c03d5e
2 changed files with 6 additions and 6 deletions

View File

@ -1,14 +1,14 @@
# Copyright (c) 2020-2021 ARM Limited. All rights reserved. # Copyright (c) 2020-2021 ARM Limited. All rights reserved.
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
add_library(mbed-cmsis-cortex-a OBJECT) add_library(mbed-cmsis-cortex-a INTERFACE)
target_include_directories(mbed-cmsis-cortex-a target_include_directories(mbed-cmsis-cortex-a
PUBLIC INTERFACE
Include Include
) )
target_sources(mbed-cmsis-cortex-a target_sources(mbed-cmsis-cortex-a
PRIVATE INTERFACE
Source/irq_ctrl_gic.c Source/irq_ctrl_gic.c
) )

View File

@ -1,14 +1,14 @@
# Copyright (c) 2020-2021 ARM Limited. All rights reserved. # Copyright (c) 2020-2021 ARM Limited. All rights reserved.
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
add_library(mbed-cmsis-cortex-m OBJECT) add_library(mbed-cmsis-cortex-m INTERFACE)
target_include_directories(mbed-cmsis-cortex-m target_include_directories(mbed-cmsis-cortex-m
PUBLIC INTERFACE
Include Include
) )
target_sources(mbed-cmsis-cortex-m target_sources(mbed-cmsis-cortex-m
PRIVATE INTERFACE
Source/mbed_tz_context.c Source/mbed_tz_context.c
) )