Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # |
| 2 | # Makefile for the linux s390-specific parts of the memory manager. |
| 3 | # |
| 4 | |
| 5 | COMPILE_VERSION := __linux_compile_version_id__`hostname | \ |
| 6 | tr -c '[0-9A-Za-z]' '_'`__`date | \ |
| 7 | tr -c '[0-9A-Za-z]' '_'`_t |
| 8 | |
matt mooney | c73028a | 2011-01-14 06:12:32 -0800 | [diff] [blame] | 9 | ccflags-y := -DCOMPILE_VERSION=$(COMPILE_VERSION) -gstabs -I. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 10 | |
| 11 | targets := image |
Martin Schwidefsky | 1844c9b | 2010-02-26 22:37:53 +0100 | [diff] [blame] | 12 | targets += bzImage |
| 13 | subdir- := compressed |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 14 | |
| 15 | $(obj)/image: vmlinux FORCE |
| 16 | $(call if_changed,objcopy) |
| 17 | |
Martin Schwidefsky | 1844c9b | 2010-02-26 22:37:53 +0100 | [diff] [blame] | 18 | $(obj)/bzImage: $(obj)/compressed/vmlinux FORCE |
| 19 | $(call if_changed,objcopy) |
| 20 | |
| 21 | $(obj)/compressed/vmlinux: FORCE |
| 22 | $(Q)$(MAKE) $(build)=$(obj)/compressed $@ |
| 23 | |
Hendrik Brueckner | aec644e5 | 2013-11-08 13:47:59 +0100 | [diff] [blame] | 24 | install: $(CONFIGURE) $(obj)/bzImage |
| 25 | sh -x $(srctree)/$(obj)/install.sh $(KERNELRELEASE) $(obj)/bzImage \ |
Heiko Carstens | 679e2ea | 2011-12-27 11:27:17 +0100 | [diff] [blame] | 26 | System.map "$(INSTALL_PATH)" |