rockbox/utils/hwstub
Aidan MacDonald f44b6c78e0 misc: respect standard __ASSEMBLER__ define in CPU headers
The JZ47xx and S5L87xx processor families used their own
special defines (__ASSEMBLY__ and ASM respectively) in
their CPU headers to check if they were included from an
assembly source file.

For GCC the standard seems to be __ASSEMBLER__, so check
for that instead and remove the non-standard symbols.
Being more consistent across platforms makes it easier to
include cpu.h from cross-platform files (eg. plugin.lds).

Change-Id: I282930cad34e1a2ff18166f3b4338548b34f4a49
2026-03-05 21:13:50 +00:00
..
include hwstub lib: Introduce framework for device filtering 2023-11-09 02:06:18 -05:00
lib hwstub lib: Introduce framework for device filtering 2023-11-09 02:06:18 -05:00
stub misc: respect standard __ASSEMBLER__ define in CPU headers 2026-03-05 21:13:50 +00:00
tools hwstub: add code to dump STMP rom 2017-11-12 14:14:30 +01:00