blob: f2737a005afcb760fa5e177d764f93d73607a985 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Makefile for the linux s390-specific parts of the memory manager.
3#
4
5COMPILE_VERSION := __linux_compile_version_id__`hostname | \
6 tr -c '[0-9A-Za-z]' '_'`__`date | \
7 tr -c '[0-9A-Za-z]' '_'`_t
8
matt mooneyc73028a2011-01-14 06:12:32 -08009ccflags-y := -DCOMPILE_VERSION=$(COMPILE_VERSION) -gstabs -I.
Linus Torvalds1da177e2005-04-16 15:20:36 -070010
11targets := image
Martin Schwidefsky1844c9b2010-02-26 22:37:53 +010012targets += bzImage
13subdir- := compressed
Linus Torvalds1da177e2005-04-16 15:20:36 -070014
15$(obj)/image: vmlinux FORCE
16 $(call if_changed,objcopy)
17
Martin Schwidefsky1844c9b2010-02-26 22:37:53 +010018$(obj)/bzImage: $(obj)/compressed/vmlinux FORCE
19 $(call if_changed,objcopy)
20
21$(obj)/compressed/vmlinux: FORCE
22 $(Q)$(MAKE) $(build)=$(obj)/compressed $@
23
Linus Torvalds1da177e2005-04-16 15:20:36 -070024install: $(CONFIGURE) $(obj)/image
25 sh -x $(srctree)/$(obj)/install.sh $(KERNELRELEASE) $(obj)/image \
Heiko Carstens679e2ea2011-12-27 11:27:17 +010026 System.map "$(INSTALL_PATH)"