2009-03-27 09:25:51 -04:00
|
|
|
#
|
|
|
|
# arch/microblaze/boot/Makefile
|
|
|
|
#
|
|
|
|
|
|
|
|
targets := linux.bin linux.bin.gz
|
|
|
|
|
|
|
|
OBJCOPYFLAGS_linux.bin := -O binary
|
|
|
|
|
|
|
|
$(obj)/linux.bin: vmlinux FORCE
|
2009-05-26 10:30:32 -04:00
|
|
|
[ -n $(CONFIG_INITRAMFS_SOURCE) ] && [ ! -e $(CONFIG_INITRAMFS_SOURCE) ] && \
|
|
|
|
touch $(CONFIG_INITRAMFS_SOURCE) || echo "No CPIO image"
|
2009-03-27 09:25:51 -04:00
|
|
|
$(call if_changed,objcopy)
|
|
|
|
@echo 'Kernel: $@ is ready' ' (#'`cat .version`')'
|
|
|
|
|
|
|
|
$(obj)/linux.bin.gz: $(obj)/linux.bin FORCE
|
|
|
|
$(call if_changed,gzip)
|
|
|
|
@echo 'Kernel: $@ is ready' ' (#'`cat .version`')'
|
|
|
|
|
|
|
|
clean-kernel += linux.bin linux.bin.gz
|