mirror of
https://github.com/apache/nuttx.git
synced 2026-08-01 20:28:58 +00:00
nuttx/atomic.h:replace ALL stdatomic.h with nuttx/stdatomic.h in nuttx/
Summary: 1. use nuttx/atomic.h instead of stdatomic 2. remove CONFIG_HAVE_ATOMIC,because we now support atomic on all platforms Signed-off-by: chenrun1 <chenrun1@xiaomi.com>
This commit is contained in:
parent
8e1a042eef
commit
cfcf347515
4 changed files with 8 additions and 73 deletions
|
|
@ -67,8 +67,7 @@ LIBMETAL_HDRS_SEDEXP := \
|
|||
s/@PROJECT_SYSTEM_UPPER@/nuttx/g; \
|
||||
s/@PROJECT_PROCESSOR_UPPER@/$(LIBMETAL_ARCH)/g; \
|
||||
s/@PROJECT_MACHINE_UPPER@/$(CONFIG_ARCH_CHIP)/g; \
|
||||
s/cmakedefine HAVE_STDATOMIC_H/include <nuttx\/compiler.h>/g; \
|
||||
s/defined(HAVE_STDATOMIC_H)/defined(CONFIG_HAVE_ATOMICS)/g; \
|
||||
s/cmakedefine HAVE_STDATOMIC_H/define HAVE_STDATOMIC_H/g; \
|
||||
s/cmakedefine/undef/g"
|
||||
|
||||
ifeq ($(wildcard libmetal/.git),)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue