fef52b11ee
When we use libmetal with other headers using stdatomic.h, we'll get symbol conflict if we don't enable HAVE_STDATOMIC_H in libmetal. The best solution might be using cmake to detect headers automatically, but we can't. Fortunately we have CONFIG_HAVE_ATOMICS macro now, which can replace HAVE_STDATOMIC_H when we're not using cmake. Note: 2-Steps to use CONFIG_HAVE_ATOMICS 1. Include compiler.h for CONFIG_HAVE_ATOMICS definition 2. Check CONFIG_HAVE_ATOMICS instead of HAVE_STDATOMIC_H Signed-off-by: Zhe Weng <wengzhe@xiaomi.com> |
||
---|---|---|
.. | ||
.gitignore | ||
0001-ns-acknowledge-the-received-creation-message.patch | ||
0002-Negotiate-individual-buffer-size-dynamically.patch | ||
0003-rpmsg-wait-endpoint-ready-in-rpmsg_send-and-rpmsg_se.patch | ||
0004-openamp-add-new-ops-notify_wait-support.patch | ||
0005-rpmsg_virtio-don-t-need-check-status-when-get_tx_pay.patch | ||
0006-rpmsg-notify-the-user-when-the-remote-address-is-rec.patch | ||
0007-openamp-avoid-double-calling-ns_bound-when-each-othe.patch | ||
0008-remoteproc-make-all-elf_-functions-static-except-elf.patch | ||
0009-Fix-warn-declaration-of-vring_rsc-shadows-a-previous.patch | ||
0010-rptun-fix-rptun-don-t-wait-issue-when-get-tx-patyloa.patch | ||
0011-rpmsg-fix-rpmsg_virtio_get_tx_buffer-no-idx-return.patch | ||
0012-rpmsg-add-new-API-rpdev_release_tx-rx_buffer.patch | ||
0013-openamp-add-error-log-when-ept-cb-return-error.patch | ||
0014-rpmsg-add-cache-flash-when-hold-rx-buffer.patch | ||
0015-rpmsg-do-cache_invalidate-when-real-data-returned.patch | ||
0016-openamp-add-new-API-rpmsg_virtio_get_rxbuffer_size.patch | ||
0017-virtio-follow-virtio-1.2-spec-add-more-virtio-status.patch | ||
0018-virtio-decoupling-the-transport-layer-and-virtio-dev.patch | ||
0019-virtio.h-add-version-in-device-id-table.patch | ||
CMakeLists.txt | ||
Kconfig | ||
libmetal.cmake | ||
libmetal.defs | ||
Makefile | ||
open-amp.cmake | ||
open-amp.defs |