mirror of https://github.com/ARMmbed/mbed-os.git
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
parent
11fedeb7d9
commit
1850c03d5e
|
@ -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
|
||||||
)
|
)
|
||||||
|
|
|
@ -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
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue