mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-03 00:54:09 +08:00
aec644e56e
The compressed kernel image is built since commit "[S390] add support for
compressed kernels" (1844c9bc0b
).
Now install the compressed kernel image (bzImage) as default.
Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
27 lines
683 B
Makefile
27 lines
683 B
Makefile
#
|
|
# Makefile for the linux s390-specific parts of the memory manager.
|
|
#
|
|
|
|
COMPILE_VERSION := __linux_compile_version_id__`hostname | \
|
|
tr -c '[0-9A-Za-z]' '_'`__`date | \
|
|
tr -c '[0-9A-Za-z]' '_'`_t
|
|
|
|
ccflags-y := -DCOMPILE_VERSION=$(COMPILE_VERSION) -gstabs -I.
|
|
|
|
targets := image
|
|
targets += bzImage
|
|
subdir- := compressed
|
|
|
|
$(obj)/image: vmlinux FORCE
|
|
$(call if_changed,objcopy)
|
|
|
|
$(obj)/bzImage: $(obj)/compressed/vmlinux FORCE
|
|
$(call if_changed,objcopy)
|
|
|
|
$(obj)/compressed/vmlinux: FORCE
|
|
$(Q)$(MAKE) $(build)=$(obj)/compressed $@
|
|
|
|
install: $(CONFIGURE) $(obj)/bzImage
|
|
sh -x $(srctree)/$(obj)/install.sh $(KERNELRELEASE) $(obj)/bzImage \
|
|
System.map "$(INSTALL_PATH)"
|