2019-04-06 21:08:09 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2018-06-15 02:21:18 +08:00
|
|
|
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
|
2018-09-04 04:04:54 +08:00
|
|
|
zephyr_include_directories(${ZEPHYR_BASE}/soc/x86/intel_quark)
|
2017-10-27 21:43:34 +08:00
|
|
|
|
|
|
|
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
|
2019-01-09 20:51:36 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
zephyr_sources_ifdef(CONFIG_SYS_POWER_MANAGEMENT
|
2017-10-27 21:43:34 +08:00
|
|
|
power.c
|
|
|
|
soc_power.S
|
|
|
|
)
|