rockbox/utils/hwstub/stub
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
..
asm hwstub: Force alignment of the context buffer 2023-09-27 22:49:09 +02:00
atj213x ATJ213x: minor changes to hwstub port 2023-09-28 22:04:11 +02:00
jz4760b misc: respect standard __ASSEMBLER__ define in CPU headers 2026-03-05 21:13:50 +00:00
pp hwstub: make it possible to override toolchain 2015-09-29 22:49:02 +02:00
rk27xx hwstub: make it possible to override toolchain 2015-09-29 22:49:02 +02:00
stmp hwstub: make it possible to override toolchain 2015-09-29 22:49:02 +02:00
config.h hwstub: add jz4760b stub 2017-01-24 15:22:27 +01:00
format.c
format.h
hwstub.make makefiles: Suppress stray backslash warnings with grep 3.8 2023-03-21 04:48:31 -04:00
logf.c
logf.h
main.c usb: implement macro for initializing USB strings 2021-03-25 13:26:03 -05:00
memory.h hwstub: fix warning: no newline at end of file with newer gcc 2016-03-14 12:21:42 +01:00
mips-archdefs.h hwstub: rewrite exception catching 2017-01-24 15:34:19 +01:00
mips.h hwstub: rewrite exception catching 2017-01-24 15:34:19 +01:00
protocol.h hwstub: rewrite and expand library 2016-04-08 19:37:30 +02:00
SOURCES hwstub: add jz4760b stub 2017-01-24 15:22:27 +01:00
stddef.h
stdint.h
string.c
string.h
system.h hwstub: rewrite exception catching 2017-01-24 15:34:19 +01:00
target.h hwstub: add the possibility to flush caches before exec 2017-01-24 15:25:14 +01:00
usb_ch9.h
usb_drv.h usb: implement macro for initializing USB strings 2021-03-25 13:26:03 -05:00
usb_drv_arc.c hwstub: add delay functions, and plain binary/sb file generation 2013-09-10 23:19:34 +02:00