Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris...
[linux/fpc-iii.git] / arch / s390 / boot / Makefile
blob9a42ecec564767411ff5eb506b4f2bb2e18e1107
2 # Makefile for the linux s390-specific parts of the memory manager.
5 COMPILE_VERSION := __linux_compile_version_id__`hostname | \
6 tr -c '[0-9A-Za-z]' '_'`__`date | \
7 tr -c '[0-9A-Za-z]' '_'`_t
9 ccflags-y := -DCOMPILE_VERSION=$(COMPILE_VERSION) -gstabs -I.
11 targets := image
12 targets += bzImage
13 subdir- := compressed
15 $(obj)/image: vmlinux FORCE
16 $(call if_changed,objcopy)
18 $(obj)/bzImage: $(obj)/compressed/vmlinux FORCE
19 $(call if_changed,objcopy)
21 $(obj)/compressed/vmlinux: FORCE
22 $(Q)$(MAKE) $(build)=$(obj)/compressed $@
24 install: $(CONFIGURE) $(obj)/bzImage
25 sh -x $(srctree)/$(obj)/install.sh $(KERNELRELEASE) $(obj)/bzImage \
26 System.map "$(INSTALL_PATH)"