mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-21 13:25:22 +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>
26 lines
596 B
CMake
26 lines
596 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
set(ARCH_FOR_cortex-m0 armv6s-m )
|
|
set(ARCH_FOR_cortex-m0plus armv6s-m )
|
|
set(ARCH_FOR_cortex-m3 armv7-m )
|
|
set(ARCH_FOR_cortex-m4 armv7e-m )
|
|
set(ARCH_FOR_cortex-m23 armv8-m.base )
|
|
set(ARCH_FOR_cortex-m33 armv8-m.main+dsp)
|
|
set(ARCH_FOR_cortex-m33+nodsp armv8-m.main )
|
|
|
|
if(ARCH_FOR_${GCC_M_CPU})
|
|
set(ARCH_FLAG -march=${ARCH_FOR_${GCC_M_CPU}})
|
|
endif()
|
|
|
|
zephyr_compile_options(
|
|
-mabi=aapcs
|
|
${ARCH_FLAG}
|
|
)
|
|
|
|
zephyr_ld_options(
|
|
-mabi=aapcs
|
|
${ARCH_FLAG}
|
|
)
|
|
|
|
add_subdirectory(core)
|