Merge remote-tracking branches 'asoc/topic/ac97', 'asoc/topic/ac97-mfd', 'asoc/topic...
[sfrench/cifs-2.6.git] / arch / s390 / boot / Makefile
1 # SPDX-License-Identifier: GPL-2.0
2 #
3 # Makefile for the linux s390-specific parts of the memory manager.
4 #
5
6 COMPILE_VERSION := __linux_compile_version_id__`hostname |  \
7                         tr -c '[0-9A-Za-z]' '_'`__`date | \
8                         tr -c '[0-9A-Za-z]' '_'`_t
9
10 ccflags-y  := -DCOMPILE_VERSION=$(COMPILE_VERSION) -gstabs -I.
11
12 targets := image
13 targets += bzImage
14 subdir- := compressed
15
16 $(obj)/image: vmlinux FORCE
17         $(call if_changed,objcopy)
18
19 $(obj)/bzImage: $(obj)/compressed/vmlinux FORCE
20         $(call if_changed,objcopy)
21
22 $(obj)/compressed/vmlinux: FORCE
23         $(Q)$(MAKE) $(build)=$(obj)/compressed $@
24
25 install: $(CONFIGURE) $(obj)/bzImage
26         sh -x  $(srctree)/$(obj)/install.sh $(KERNELRELEASE) $(obj)/bzImage \
27               System.map "$(INSTALL_PATH)"