mips: boot: add support for self-extracting FIT images (vmlinuz.itb)
[linux-2.6-microblaze.git] / arch / mips / Makefile
index 0d0f29d..cd4343e 100644 (file)
@@ -347,6 +347,7 @@ bootz-y                     += vmlinuz.srec
 ifeq ($(shell expr $(zload-y) \< 0xffffffff80000000 2> /dev/null), 0)
 bootz-y                        += uzImage.bin
 endif
+bootz-y                        += vmlinuz.itb
 
 #
 # Some machines like the Indy need 32-bit ELF binaries for booting purposes.
@@ -378,7 +379,7 @@ ifdef CONFIG_SYS_SUPPORTS_ZBOOT
 # boot/compressed
 $(bootz-y): $(vmlinux-32) FORCE
        $(Q)$(MAKE) $(build)=arch/mips/boot/compressed \
-               $(bootvars-y) 32bit-bfd=$(32bit-bfd) $@
+               $(bootvars-y) 32bit-bfd=$(32bit-bfd) arch/mips/boot/$@
 else
 vmlinuz: FORCE
        @echo '   CONFIG_SYS_SUPPORTS_ZBOOT is not enabled'