include: headers: Replace __ASSEMBLY__ with __ASSEMBLER__
authorMarouene Boubakri <marouene.boubakri@nxp.com>
Fri, 12 Mar 2021 11:00:01 +0000 (12:00 +0100)
committerAnup Patel <anup@brainfault.org>
Mon, 22 Mar 2021 10:32:48 +0000 (16:02 +0530)
commitbfc85c70e7517dc633b74e33768247b4df6a661c
tree8495986c0ebfc19121a10e3b1af57c4ea77c7175
parentddad02d62550ca8884a2bd21345dad8c6c216777
include: headers: Replace __ASSEMBLY__ with __ASSEMBLER__

GCC has already a predefined macro __ASSEMBLER__ therefore, it can be
used without the need to define a new flag with -D__ASSEMBLY__.
This is useful when adding the library to projects having a build
system such one can build without the need to make changes.
THe build system does not use the Makefile in the sources tree.

Signed-off-by: Marouene Boubakri <marouene.boubakri@nxp.com>
Signed-off-by: Anup Patel <anup.patel@wdc.com>
Makefile
include/sbi/fw_dynamic.h
include/sbi/riscv_asm.h
include/sbi/sbi_const.h
include/sbi/sbi_platform.h
include/sbi/sbi_scratch.h
include/sbi/sbi_trap.h
lib/utils/libfdt/fdt.h