summaryrefslogtreecommitdiff
path: root/arch/xtensa/boot/boot-redboot
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2016-12-25 04:58:57 -0800
committerMax Filippov <jcmvbkbc@gmail.com>2017-03-01 12:32:50 -0800
commit9a736fcb096b43b68af8329eb12abc8256dceaba (patch)
tree1025c3ae5c1b1b68051a13e2052daee14a1db755 /arch/xtensa/boot/boot-redboot
parent4ab18701c66552944188dbcd0ce0012729baab84 (diff)
xtensa: clean up bootable image build targets
Currently xtensa uses 'zImage' as a synonym of 'all', but in fact xtensa supports three targets: 'Image' (ELF image with reset vector), 'zImage' (compressed redboot image) and 'uImage' (U-Boot image). Provide separate 'Image', 'zImage' and 'uImage' make targets that only build corresponding image type. Make 'all' build all images appropriate for a platform. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa/boot/boot-redboot')
-rw-r--r--arch/xtensa/boot/boot-redboot/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/xtensa/boot/boot-redboot/Makefile b/arch/xtensa/boot/boot-redboot/Makefile
index 8be8b9436981..8632473ad319 100644
--- a/arch/xtensa/boot/boot-redboot/Makefile
+++ b/arch/xtensa/boot/boot-redboot/Makefile
@@ -32,4 +32,4 @@ $(obj)/../zImage.redboot: $(obj)/zImage.elf
$(Q)$(OBJCOPY) -S -O binary $< $@
$(Q)$(kecho) ' Kernel: $@ is ready'
-zImage: $(obj)/../zImage.redboot
+all zImage: $(obj)/../zImage.redboot