mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-04 23:07:46 -04:00
various small improvements and fixes
This commit is contained in:
parent
f133766faa
commit
d40a5af495
32 changed files with 372 additions and 241 deletions
|
@ -49,11 +49,8 @@ get_define () # prefix struct member member...
|
|||
echo "const int one = 1;" >/tmp/getoffs.c
|
||||
compile_rodata
|
||||
ENDIAN=$(if [ "$rodata" -eq 1 ]; then echo be; else echo le; fi)
|
||||
# determine output file
|
||||
echo "const int vsz = sizeof(void *);" >/tmp/getoffs.c
|
||||
compile_rodata
|
||||
fn="${1:-.}/pico_int_o$((8*$rodata)).h"
|
||||
# output header
|
||||
fn="${1:-.}/pico_int_offs.h"
|
||||
echo "/* autogenerated by mkoffset.sh, do not edit */" >$fn
|
||||
echo "/* target endianess: $ENDIAN, compiled with: $CC $CFLAGS */" >>$fn
|
||||
# output offsets
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue