This adds SMP support for Intel S1000 SoC. Some of the start-up code is borrowed from ESP32. Signed-off-by: Daniel Leung <daniel.leung@intel.com>
13 lines
282 B
CMake
13 lines
282 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
zephyr_library()
|
|
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
|
|
zephyr_library_sources(soc.c)
|
|
|
|
if("${ZEPHYR_TOOLCHAIN_VARIANT}" STREQUAL "xcc")
|
|
add_subdirectory(xcc)
|
|
endif()
|
|
|
|
if(CONFIG_SMP)
|
|
zephyr_library_sources(soc_mp.c)
|
|
endif()
|