forked from zephyrproject-rtos/hal_xtensa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
42 lines (35 loc) · 973 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
if(CONFIG_XTENSA_HAL)
zephyr_interface_library_named(XTENSA_HAL)
target_include_directories(XTENSA_HAL INTERFACE include)
target_include_directories(XTENSA_HAL INTERFACE zephyr/soc/${SOC_NAME}/)
zephyr_library_named(modules_xtensa_hal)
zephyr_include_directories(
include
zephyr/soc/${SOC_NAME}/
)
zephyr_library_sources(
src/hal/attribute.c
src/hal/cache_asm.S
src/hal/cache.c
src/hal/clock.S
src/hal/coherence.c
src/hal/debug.c
src/hal/debug_hndlr.S
src/hal/disass.c
src/hal/int_asm.S
src/hal/interrupts.c
src/hal/memcopy.S
src/hal/mem_ecc_parity.S
src/hal/misc.c
src/hal/miscellaneous.S
src/hal/mmu.c
src/hal/mp_asm.S
src/hal/set_region_translate.c
src/hal/state_asm.S
src/hal/state.c
src/hal/syscache_asm.S
src/hal/windowspill_asm.S
)
zephyr_library_link_libraries(XTENSA_HAL)
target_link_libraries(XTENSA_HAL INTERFACE zephyr_interface)
endif()