X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=batman%2FMakefile;h=a22b43228b60d12f259703c0fe49c2eddb41b5b6;hb=517cb72c0b4ccd2a80e70eab04b01420eaf43513;hp=8d9f5ac88010651087fae328e01b2819988d7638;hpb=f31c7536f22a8ad00303862037dd847b6bacaaff;p=savezelda.git diff --git a/batman/Makefile b/batman/Makefile index 8d9f5ac..a22b432 100644 --- a/batman/Makefile +++ b/batman/Makefile @@ -69,9 +69,9 @@ FILE_V28: head.bin exploit.bin $(loader) $(Q)./pack.sh $@ $^ $(Q)$(TOOLS)/lego-cksum $@ -head.bin: head.elf +head.bin: head.o @echo " OBJCOPY $@" - $(Q)$(OBJCOPY) -Obinary $< $@ + $(Q)$(OBJCOPY) -Ielf32-powerpc -Obinary $< $@ exploit.bin: exploit.elf @echo " OBJCOPY $@" @@ -81,10 +81,6 @@ exploit.elf: lego.lds exploit.o @echo " LINK $@" $(Q)$(LD) -T $^ -o $@ -head.elf: head.lds head.o - @echo " LINK $@" - $(Q)$(LD) -T $^ -o $@ - exploit.o: exploit.s @echo " ASSEMBLE $@" $(Q)$(CC) $(CFLAGS) -c $< -o $@