blob: d1fa37fcce833887850d5891970e23f0e65375a1 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Linus Torvalds1da177e2005-04-16 15:20:36 -07002#
3# Makefile for the linux s390-specific parts of the memory manager.
4#
5
Linus Torvalds1da177e2005-04-16 15:20:36 -07006targets := image
Martin Schwidefsky1844c9b2010-02-26 22:37:53 +01007targets += bzImage
8subdir- := compressed
Linus Torvalds1da177e2005-04-16 15:20:36 -07009
10$(obj)/image: vmlinux FORCE
11 $(call if_changed,objcopy)
12
Martin Schwidefsky1844c9b2010-02-26 22:37:53 +010013$(obj)/bzImage: $(obj)/compressed/vmlinux FORCE
14 $(call if_changed,objcopy)
15
16$(obj)/compressed/vmlinux: FORCE
17 $(Q)$(MAKE) $(build)=$(obj)/compressed $@
18
Hendrik Brueckneraec644e52013-11-08 13:47:59 +010019install: $(CONFIGURE) $(obj)/bzImage
20 sh -x $(srctree)/$(obj)/install.sh $(KERNELRELEASE) $(obj)/bzImage \
Heiko Carstens679e2ea2011-12-27 11:27:17 +010021 System.map "$(INSTALL_PATH)"