Merge tag 'sched-urgent-2020-12-27' of git://git.kernel.org/pub/scm/linux/kernel...
[linux/fpc-iii.git] / arch / microblaze / boot / Makefile
blobcff570a719461ffd34ffec2e93d0ddaea0776de6
1 # SPDX-License-Identifier: GPL-2.0
3 # arch/microblaze/boot/Makefile
6 targets := linux.bin linux.bin.gz linux.bin.ub simpleImage.*
8 OBJCOPYFLAGS := -R .note -R .comment -R .note.gnu.build-id -O binary
10 $(obj)/linux.bin: vmlinux FORCE
11 $(call if_changed,objcopy)
13 $(obj)/linux.bin.ub: $(obj)/linux.bin FORCE
14 $(call if_changed,uimage)
16 $(obj)/linux.bin.gz: $(obj)/linux.bin FORCE
17 $(call if_changed,gzip)
19 quiet_cmd_strip = STRIP $< $@$2
20 cmd_strip = $(STRIP) -K microblaze_start -K _end -K __log_buf \
21 -K _fdt_start $< -o $@$2
23 UIMAGE_LOADADDR = $(CONFIG_KERNEL_BASE_ADDR)
25 $(obj)/simpleImage.$(DTB): vmlinux FORCE
26 $(call if_changed,objcopy)
28 $(obj)/simpleImage.$(DTB).ub: $(obj)/simpleImage.$(DTB) FORCE
29 $(call if_changed,uimage)
31 $(obj)/simpleImage.$(DTB).unstrip: vmlinux FORCE
32 $(call if_changed,shipped)
34 $(obj)/simpleImage.$(DTB).strip: vmlinux FORCE
35 $(call if_changed,strip)