From: <rob...@us...> - 2004-12-30 10:21:24
|
Update of /cvsroot/gc-linux/ipl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12817 Modified Files: Makefile Log Message: fixed crappy dol by using doltool for generation (dol didn't load in pso) added makefile target pso to load the ipl using pso Index: Makefile =================================================================== RCS file: /cvsroot/gc-linux/ipl/Makefile,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- Makefile 29 Dec 2004 11:10:29 -0000 1.1.1.1 +++ Makefile 30 Dec 2004 10:21:15 -0000 1.2 @@ -24,6 +24,12 @@ AS=$(CROSS)as CFLAGS_LOCAL= + +PSOLOAD=./psoload2 +DOLTOOL=./doltool + +PSOLOAD_ARGS=-i 192.168.100.30 + endif # Configuration @@ -85,8 +91,14 @@ .S.o: $(CC) $(AFLAGS) -c -o $@ $*.S -main.dol: dolhdr main.bin - cat dolhdr main.bin > $@ +#main.dol: dolhdr main.bin +# cat dolhdr main.bin > $@ + +psoload: main.dol + $(PSOLOAD) $(PSOLOAD_ARGS) main.dol + +main.dol: main.elf + $(DOLTOOL) -d main.elf main.bin: main.elf $(OBJCOPY) -O binary $< $@ |