libc_atomic: add file to cmake script
resolves an error where atomic related symbols cannot be found at cmake compile time. Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
This commit is contained in:
parent
c831c8cc56
commit
234dd95e0b
@ -19,3 +19,7 @@
|
||||
# ##############################################################################
|
||||
|
||||
add_subdirectory(${CONFIG_ARCH})
|
||||
|
||||
if(CONFIG_LIBC_ARCH_ATOMIC)
|
||||
target_sources(c PRIVATE arch_atomic.c)
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user