libc/machine/CMakeLists: should alaways build arch_atomic.c
Summary: This issue comes from https://github.com/apache/nuttx/pull/14570. In the previous Atomic implementation https://github.com/apache/nuttx/pull/13044, we have removed the CONFIG_LIBC_ARCH_ATOMIC macro, so arch_atomic.c should always be compiled. Signed-off-by: chenrun1 <chenrun1@xiaomi.com>
This commit is contained in:
parent
2c0e5e872b
commit
1fce345481
|
@ -22,9 +22,7 @@
|
|||
|
||||
add_subdirectory(${CONFIG_ARCH})
|
||||
|
||||
if(CONFIG_LIBC_ARCH_ATOMIC)
|
||||
target_sources(c PRIVATE arch_atomic.c)
|
||||
endif()
|
||||
target_sources(c PRIVATE arch_atomic.c)
|
||||
|
||||
if(CONFIG_MM_KASAN)
|
||||
target_sources(c PRIVATE arch_libc.c)
|
||||
|
|
Loading…
Reference in New Issue