Generate MLO file with Makefile ift option
authorVikram Pandita <vikram.pandita@ti.com>
Tue, 10 Feb 2009 20:55:35 +0000 (14:55 -0600)
committerNishanth Menon <nm@ti.com>
Tue, 14 Dec 2010 19:20:43 +0000 (13:20 -0600)
MLO is the file name used for MMC booting.
Make that as default file generated with
make ift

Signed-off-by: Vikram Pandita <vikram.pandita@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Makefile

index 3c08ec9..955d1fe 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -89,6 +89,7 @@ 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)
+       cp x-load.bin.ift MLO
  
 x-load.bin:    x-load
                $(OBJCOPY) ${OBJCFLAGS} -O binary $< $@
@@ -185,7 +186,7 @@ clobber:    clean
                | xargs rm -f
        rm -f $(OBJS) *.bak tags TAGS
        rm -fr *.*~
-       rm -f x-load x-load.map $(ALL) x-load.bin.ift signGP
+       rm -f x-load x-load.map $(ALL) x-load.bin.ift signGP MLO
        rm -f include/asm/proc include/asm/arch
 
 mrproper \