Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | # |
| 3 | # Makefile for the linux s390-specific parts of the memory manager. |
| 4 | # |
| 5 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 6 | targets := image |
Martin Schwidefsky | 1844c9b | 2010-02-26 22:37:53 +0100 | [diff] [blame] | 7 | targets += bzImage |
| 8 | subdir- := compressed |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 9 | |
| 10 | $(obj)/image: vmlinux FORCE |
| 11 | $(call if_changed,objcopy) |
| 12 | |
Martin Schwidefsky | 1844c9b | 2010-02-26 22:37:53 +0100 | [diff] [blame] | 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 | |
Hendrik Brueckner | aec644e5 | 2013-11-08 13:47:59 +0100 | [diff] [blame] | 19 | install: $(CONFIGURE) $(obj)/bzImage |
| 20 | sh -x $(srctree)/$(obj)/install.sh $(KERNELRELEASE) $(obj)/bzImage \ |
Heiko Carstens | 679e2ea | 2011-12-27 11:27:17 +0100 | [diff] [blame] | 21 | System.map "$(INSTALL_PATH)" |