23 lines
436 B
CMake
23 lines
436 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
|
|
zephyr_include_directories(${ZEPHYR_BASE}/soc/x86/intel_quark)
|
|
|
|
zephyr_cc_option(-mcpu=quarkse_em -mno-sdata)
|
|
|
|
zephyr_compile_definitions_ifdef(
|
|
CONFIG_SOC_QUARK_SE_C1000_SS
|
|
QM_SENSOR=1
|
|
SOC_SERIES=quark_se
|
|
)
|
|
|
|
zephyr_sources(
|
|
soc.c
|
|
soc_config.c
|
|
)
|
|
|
|
zephyr_sources_ifdef(CONFIG_SYS_POWER_MANAGEMENT
|
|
power.c
|
|
soc_power.S
|
|
)
|