zephyr/soc/arm/CMakeLists.txt

11 lines
197 B
CMake
Raw Normal View History

# SPDX-License-Identifier: Apache-2.0
add_subdirectory_ifdef(CONFIG_CPU_CORTEX_M common/cortex_m)
if(SOC_FAMILY)
add_subdirectory(${SOC_FAMILY})
else()
add_subdirectory(${SOC_NAME})
endif()