xref: /openbmc/linux/arch/s390/boot/Makefile (revision 7156fc29)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for the linux s390-specific parts of the memory manager.
4#
5
6targets := image
7targets += bzImage
8subdir- := compressed
9
10$(obj)/image: vmlinux FORCE
11	$(call if_changed,objcopy)
12
13$(obj)/bzImage: $(obj)/compressed/vmlinux FORCE
14	$(call if_changed,objcopy)
15
16$(obj)/compressed/vmlinux: FORCE
17	$(Q)$(MAKE) $(build)=$(obj)/compressed $@
18
19install: $(CONFIGURE) $(obj)/bzImage
20	sh -x  $(srctree)/$(obj)/install.sh $(KERNELRELEASE) $(obj)/bzImage \
21	      System.map "$(INSTALL_PATH)"
22