2005-04-17 05:20:36 +07:00
|
|
|
#
|
|
|
|
# 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
|
|
|
|
|
2011-01-14 21:12:32 +07:00
|
|
|
ccflags-y := -DCOMPILE_VERSION=$(COMPILE_VERSION) -gstabs -I.
|
2005-04-17 05:20:36 +07:00
|
|
|
|
|
|
|
targets := image
|
2010-02-27 04:37:53 +07:00
|
|
|
targets += bzImage
|
|
|
|
subdir- := compressed
|
2005-04-17 05:20:36 +07:00
|
|
|
|
|
|
|
$(obj)/image: vmlinux FORCE
|
|
|
|
$(call if_changed,objcopy)
|
|
|
|
|
2010-02-27 04:37:53 +07:00
|
|
|
$(obj)/bzImage: $(obj)/compressed/vmlinux FORCE
|
|
|
|
$(call if_changed,objcopy)
|
|
|
|
|
|
|
|
$(obj)/compressed/vmlinux: FORCE
|
|
|
|
$(Q)$(MAKE) $(build)=$(obj)/compressed $@
|
|
|
|
|
2013-11-08 19:47:59 +07:00
|
|
|
install: $(CONFIGURE) $(obj)/bzImage
|
|
|
|
sh -x $(srctree)/$(obj)/install.sh $(KERNELRELEASE) $(obj)/bzImage \
|
2011-12-27 17:27:17 +07:00
|
|
|
System.map "$(INSTALL_PATH)"
|