diff options
author | Thomas Huth <thuth@redhat.com> | 2025-03-13 20:27:18 +0100 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2025-03-14 13:51:31 +1100 |
commit | f4c53f4ebf7809a07666bf728c823005e1f1a612 (patch) | |
tree | 2c092a574523d338f21162f67a040aed71b2d4a0 /tests/appendprop1.c | |
parent | 205fbef17b7b2f410e34ac79aa1559a8d492b66c (diff) | |
download | dtc-master.zip dtc-master.tar.gz dtc-master.tar.bz2 |
Both, Clang and GCC define __ASSEMBLER__ automatically when
compiling .S files, so this macro is a much better fit for
fdt.h - programs that want to use it from .S files don't have
to manually #define __ASSEMBLY__ that way.
While we're at it, also change it in testdata.h, then we don't
have to define __ASSEMBLY__ in the Makefile / meson.build file
anymore.
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20250313192718.1561683-1-thuth@redhat.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'tests/appendprop1.c')
0 files changed, 0 insertions, 0 deletions