IB/srp: Let srp_abort() return FAST_IO_FAIL if TL offline
[linux/fpc-iii.git] / arch / microblaze / boot / Makefile
blob80fe54fb7ca34c01276d1ddbaa66fbf88610f797
2 # arch/microblaze/boot/Makefile
5 targets := linux.bin linux.bin.gz simpleImage.%
7 OBJCOPYFLAGS := -R .note -R .comment -R .note.gnu.build-id -O binary
9 $(obj)/linux.bin: vmlinux FORCE
10 $(call if_changed,objcopy)
11 $(call if_changed,uimage)
12 @echo 'Kernel: $@ is ready' ' (#'`cat .version`')'
14 $(obj)/linux.bin.gz: $(obj)/linux.bin FORCE
15 $(call if_changed,gzip)
16 @echo 'Kernel: $@ is ready' ' (#'`cat .version`')'
18 quiet_cmd_cp = CP $< $@$2
19 cmd_cp = cat $< >$@$2 || (rm -f $@ && echo false)
21 quiet_cmd_strip = STRIP $@
22 cmd_strip = $(STRIP) -K microblaze_start -K _end -K __log_buf \
23 -K _fdt_start vmlinux -o $@
25 UIMAGE_IN = $@
26 UIMAGE_OUT = $@.ub
27 UIMAGE_LOADADDR = $(CONFIG_KERNEL_BASE_ADDR)
29 $(obj)/simpleImage.%: vmlinux FORCE
30 $(call if_changed,cp,.unstrip)
31 $(call if_changed,objcopy)
32 $(call if_changed,uimage)
33 $(call if_changed,strip)
34 @echo 'Kernel: $@ is ready' ' (#'`cat .version`')'
37 clean-files += simpleImage.*.unstrip linux.bin.ub