Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ryusuke...
[sfrench/cifs-2.6.git] / arch / microblaze / boot / Makefile
1 #
2 # arch/microblaze/boot/Makefile
3 #
4
5 targets := linux.bin linux.bin.gz
6
7 OBJCOPYFLAGS_linux.bin  := -O binary
8
9 $(obj)/linux.bin: vmlinux FORCE
10         [ -n $(CONFIG_INITRAMFS_SOURCE) ] && [ ! -e $(CONFIG_INITRAMFS_SOURCE) ] && \
11         touch $(CONFIG_INITRAMFS_SOURCE) || echo "No CPIO image"
12         $(call if_changed,objcopy)
13         @echo 'Kernel: $@ is ready' ' (#'`cat .version`')'
14
15 $(obj)/linux.bin.gz: $(obj)/linux.bin FORCE
16         $(call if_changed,gzip)
17         @echo 'Kernel: $@ is ready' ' (#'`cat .version`')'
18
19 clean-kernel += linux.bin linux.bin.gz