]> bbs.cooldavid.org Git - net-next-2.6.git/blame - arch/s390/boot/Makefile
[S390] add support for compressed kernels
[net-next-2.6.git] / arch / s390 / boot / Makefile
CommitLineData
1da177e4
LT
1#
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
9EXTRA_CFLAGS := -DCOMPILE_VERSION=$(COMPILE_VERSION) -gstabs -I.
10
11targets := image
1844c9bc
MS
12targets += bzImage
13subdir- := compressed
1da177e4
LT
14
15$(obj)/image: vmlinux FORCE
16 $(call if_changed,objcopy)
17
1844c9bc
MS
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
1da177e4
LT
24install: $(CONFIGURE) $(obj)/image
25 sh -x $(srctree)/$(obj)/install.sh $(KERNELRELEASE) $(obj)/image \
26 System.map Kerntypes "$(INSTALL_PATH)"