Skip to content

Commit fe5d8c7

Browse files
committed
arch: arm: cortex-m: Move irq_relay.S to the cortex-m directory
'irq_relay.S' is only used for Arm Cortex-M architecture, so it's better to place it to the 'arch/arm/core/cortex_m' directory. Signed-off-by: Huifeng Zhang <[email protected]>
1 parent bb24e9a commit fe5d8c7

File tree

3 files changed

+1
-1
lines changed

3 files changed

+1
-1
lines changed

arch/arm/core/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ zephyr_library_sources(
1717
zephyr_library_sources_ifdef(CONFIG_GEN_SW_ISR_TABLE isr_wrapper.S)
1818
zephyr_library_sources_ifdef(CONFIG_CPP __aeabi_atexit.c)
1919
zephyr_library_sources_ifdef(CONFIG_IRQ_OFFLOAD irq_offload.c)
20-
zephyr_library_sources_ifdef(CONFIG_SW_VECTOR_RELAY irq_relay.S)
2120
zephyr_library_sources_ifdef(CONFIG_THREAD_LOCAL_STORAGE tls.c)
2221
zephyr_library_sources_ifdef(CONFIG_USERSPACE userspace.S)
2322
zephyr_library_sources_ifdef(CONFIG_ARM_ZIMAGE_HEADER header.S)

arch/arm/core/cortex_m/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ zephyr_library_sources_ifdef(CONFIG_THREAD_LOCAL_STORAGE __aeabi_read_tp.S)
2020
zephyr_library_sources_ifdef(CONFIG_SEMIHOST semihost.c)
2121
zephyr_library_sources_ifdef(CONFIG_PM_S2RAM pm_s2ram.c pm_s2ram.S)
2222
zephyr_library_sources_ifdef(CONFIG_ARCH_CACHE cache.c)
23+
zephyr_library_sources_ifdef(CONFIG_SW_VECTOR_RELAY irq_relay.S)
2324

2425
if(CONFIG_NULL_POINTER_EXCEPTION_DETECTION_DWT)
2526
zephyr_library_sources(debug.c)
File renamed without changes.

0 commit comments

Comments
 (0)