all: $(ALL)
+ift: $(ALL) x-load.bin.ift
+
+x-load.bin.ift: signGP System.map x-load.bin
+ TEXT_BASE=`grep -w _start System.map|cut -d ' ' -f1`
+ ./signGP x-load.bin $(TEXT_BASE)
x-load.bin: x-load
$(OBJCOPY) ${OBJCFLAGS} -O binary $< $@
oneboot: x-load.bin
scripts/mkoneboot.sh
+signGP: scripts/signGP.c
+ gcc -O3 -o signGP $<
+
#########################################################################
else
all install x-load x-load.srec oneboot depend dep:
| xargs rm -f
rm -f $(OBJS) *.bak tags TAGS
rm -fr *.*~
- rm -f x-load x-load.map $(ALL)
+ rm -f x-load x-load.map $(ALL) x-load.bin.ift signGP
rm -f include/asm/proc include/asm/arch
mrproper \