xref: /linux/arch/parisc/boot/Makefile (revision 4b660dbd9ee2059850fd30e0df420ca7a38a1856)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Makefile for the linux parisc-specific parts of the boot image creator.
4#
5
6targets := image
7targets += bzImage
8subdir- := compressed
9
10$(obj)/image: vmlinux FORCE
11	$(call if_changed,objcopy)
12
13$(obj)/bzImage: $(if $(CONFIG_KERNEL_UNCOMPRESSED),$(objtree)/vmlinux,$(obj)/compressed/vmlinux) FORCE
14	$(call if_changed,objcopy)
15
16$(obj)/compressed/vmlinux: FORCE
17	$(Q)$(MAKE) $(build)=$(obj)/compressed $@
18