When CONFIG_OMAP_BUILD_IFT is selected, the target image name was set to "barebox.bin.ift". This file must be renamed "MLO" before it can be used on the SD card. Make this as default behavior. Signed-off-by: Sanjeev Premi <premi@xxxxxx> --- Did basic boot testing on OMAP3EVM after this change. arch/arm/Makefile | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/Makefile b/arch/arm/Makefile index 9885634..a994ce2 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile @@ -147,12 +147,13 @@ ifeq ($(machine-y),netx) KBUILD_IMAGE := barebox.netx endif -barebox.bin.ift: barebox.bin +MLO: barebox.bin @echo " IFT " $@ $(Q)scripts/omap_signGP barebox.bin $(TEXT_BASE) 1 + $(Q)test -e barebox.bin.ift && mv barebox.bin.ift MLO ifeq ($(CONFIG_OMAP_BUILD_IFT),y) -KBUILD_IMAGE := barebox.bin.ift +KBUILD_IMAGE := MLO endif all: $(KBUILD_IMAGE) -- 1.7.0.4 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox