Signed-off-by: Christian Riesch <christian.rie...@omicron.at> Cc: Stefano Babic <sba...@denx.de> Cc: Heiko Schocher <h...@denx.de> --- .gitignore | 1 + Makefile | 7 +++++++ 2 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore index 70a11f7..1c5defd 100644 --- a/.gitignore +++ b/.gitignore @@ -35,6 +35,7 @@ /u-boot.dis /u-boot.lds /u-boot.ubl +/u-boot.ais /u-boot.dtb # diff --git a/Makefile b/Makefile index 294c762..2fbc032 100644 --- a/Makefile +++ b/Makefile @@ -424,6 +424,13 @@ $(obj)u-boot.ubl: $(obj)spl/u-boot-spl.bin $(obj)u-boot.bin rm $(obj)u-boot-ubl.bin rm $(obj)spl/u-boot-spl-pad.bin +$(obj)u-boot.ais: $(obj)spl/u-boot-spl.bin + $(OBJCOPY) ${OBJCFLAGS} --pad-to=$(PAD_TO) -O binary $(obj)spl/u-boot-spl $(obj)spl/u-boot-spl-pad.bin + $(obj)tools/mkimage -s -n /dev/null -T aisimage \ + -e $(CONFIG_SPL_TEXT_BASE) -d $(obj)spl/u-boot-spl-pad.bin \ + $(obj)u-boot.ais + rm $(obj)spl/u-boot-spl-pad.bin + ifeq ($(CONFIG_SANDBOX),y) GEN_UBOOT = \ cd $(LNDIR) && $(CC) $(SYMS) -T $(obj)u-boot.lds \ -- 1.7.0.4 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot