mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-09 14:55:21 +00:00
Update the files which contain no license information with the 'Apache-2.0' SPDX license identifier. Many source files in the tree are missing licensing information, which makes it harder for compliance tools to determine the correct license. By default all files without license information are under the default license of Zephyr, which is Apache version 2. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
24 lines
435 B
CMake
24 lines
435 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
add_library(CMSIS INTERFACE)
|
|
|
|
target_include_directories(CMSIS INTERFACE ${PROJECT_SOURCE_DIR}/include/cmsis_rtos_v2)
|
|
|
|
zephyr_library()
|
|
zephyr_library_sources_ifdef(
|
|
CONFIG_CMSIS_RTOS_V2
|
|
thread.c
|
|
kernel.c
|
|
timer.c
|
|
mutex.c
|
|
semaphore.c
|
|
mempool.c
|
|
msgq.c
|
|
event_flags.c
|
|
thread_flags.c
|
|
)
|
|
|
|
zephyr_library_link_libraries(CMSIS)
|
|
target_link_libraries(CMSIS INTERFACE zephyr_interface)
|