ip.mk: add -L path

This commit is contained in:
Zack Buhman 2025-04-05 05:05:45 -05:00
parent 33bac06002
commit 4561bb35f8

4
ip.mk
View File

@ -25,11 +25,11 @@ SERIAL_LOAD_OBJ = \
$< $@
serial_load_ip.elf: $(IP_OBJ) $(START_OBJ) $(SERIAL_LOAD_OBJ)
$(LD) --orphan-handling=error --print-memory-usage -T $(LIB)/ip.lds $^ -o $@
$(LD) $(LDFLAGS) -L $(LIB) -T $(LIB)/ip.lds $^ -o $@
GDROM_JVM_BOOT_OBJ = \
$(LIB)/example/gdrom_jvm_boot.o \
$(LIB)/sh7091/serial.o
gdrom_jvm_boot.elf: $(IP_OBJ) $(START_OBJ) $(GDROM_JVM_BOOT_OBJ)
$(LD) --orphan-handling=error --print-memory-usage -T $(LIB)/ip.lds $^ -o $@
$(LD) $(LDFLAGS) -L $(LIB) -T $(LIB)/ip.lds $^ -o $@