29 lines
602 B
Makefile
29 lines
602 B
Makefile
IP_OBJ = \
|
|
$(LIB)/systemid.o \
|
|
$(LIB)/toc.o \
|
|
$(LIB)/sg/sg_sec.o \
|
|
$(LIB)/sg_arejp.o \
|
|
$(LIB)/sg_areus.o \
|
|
$(LIB)/sg_areec.o \
|
|
$(LIB)/sg_are00.o \
|
|
$(LIB)/sg_are01.o \
|
|
$(LIB)/sg_are02.o \
|
|
$(LIB)/sg_are03.o \
|
|
$(LIB)/sg_are04.o
|
|
|
|
SERIAL_LOAD_OBJ = \
|
|
example/serial_transfer.o \
|
|
sh7091/serial.o \
|
|
serial_load.o \
|
|
maple/maple.o \
|
|
font/portfolio_6x8/portfolio_6x8.data.o \
|
|
crc32.o
|
|
|
|
%.o: %.obj
|
|
$(OBJCOPY) -g \
|
|
--rename-section IP=.text.$* \
|
|
$< $@
|
|
|
|
serial_load_ip.elf: $(IP_OBJ) $(START_OBJ) $(SERIAL_LOAD_OBJ)
|
|
$(LD) --orphan-handling=error --print-memory-usage -T $(LIB)/ip.lds $^ -o $@
|