minor improvements
This commit is contained in:
parent
f49259ba72
commit
d58f0a9e32
@ -3,7 +3,7 @@ OPT ?= -Og
|
|||||||
|
|
||||||
AARCH = --isa=sh2 --big
|
AARCH = --isa=sh2 --big
|
||||||
AFLAGS = -g -gdwarf-4
|
AFLAGS = -g -gdwarf-4
|
||||||
CFLAGS += -ffunction-sections -fdata-sections -fshort-enums -ffreestanding -nostdlib
|
CFLAGS += -falign-functions=4 -ffunction-sections -fdata-sections -fshort-enums -ffreestanding -nostdlib
|
||||||
CFLAGS += -Wall -Werror -Wfatal-errors -Wno-error=unused-variable -g -gdwarf-4 $(OPT)
|
CFLAGS += -Wall -Werror -Wfatal-errors -Wno-error=unused-variable -g -gdwarf-4 $(OPT)
|
||||||
LDFLAGS = --gc-sections --no-warn-rwx-segment --print-memory-usage --entry=_start
|
LDFLAGS = --gc-sections --no-warn-rwx-segment --print-memory-usage --entry=_start
|
||||||
CXXFLAGS = -fno-exceptions -fno-rtti
|
CXXFLAGS = -fno-exceptions -fno-rtti
|
||||||
@ -94,7 +94,7 @@ sys_ip.elf: $(SYS_IP_OBJ)
|
|||||||
/=$(LIB)/segasmp/smp_bib.txt
|
/=$(LIB)/segasmp/smp_bib.txt
|
||||||
|
|
||||||
%.cue: %.iso
|
%.cue: %.iso
|
||||||
@echo "FILE \"${<}\" BINARY" > $@
|
@echo "FILE \"$(notdir ${<})\" BINARY" > $@
|
||||||
@echo " TRACK 01 MODE1/2048" >> $@
|
@echo " TRACK 01 MODE1/2048" >> $@
|
||||||
@echo " INDEX 01 00:00:00" >> $@
|
@echo " INDEX 01 00:00:00" >> $@
|
||||||
|
|
||||||
|
2
sh2.lds
2
sh2.lds
@ -42,5 +42,5 @@ scsp = 0x25A00000;
|
|||||||
vdp1 = 0x25C00000;
|
vdp1 = 0x25C00000;
|
||||||
vdp2 = 0x25E00000;
|
vdp2 = 0x25E00000;
|
||||||
scu = 0x25FE0000;
|
scu = 0x25FE0000;
|
||||||
sh2_vec = 0x26000000;
|
sh2_vec = 0x06000000;
|
||||||
sh2 = 0xfffffe00;
|
sh2 = 0xfffffe00;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user