From: Bernhard Urban Date: Mon, 17 Jan 2011 23:29:10 +0000 (+0100) Subject: batman: remove head.lds completely X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=savezelda.git;a=commitdiff_plain;h=517cb72c0b4ccd2a80e70eab04b01420eaf43513 batman: remove head.lds completely --- 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 $@ diff --git a/batman/head.lds b/batman/head.lds deleted file mode 100644 index 0e91c43..0000000 --- a/batman/head.lds +++ /dev/null @@ -1,6 +0,0 @@ -/* Copyright 2008-2009 Segher Boessenkool - This code is licensed to you under the terms of the GNU GPL, version 2; - see file COPYING or http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt */ - -OUTPUT_FORMAT("elf32-powerpc") -OUTPUT_ARCH(powerpc:common)