Makefile 683 B

123456789101112131415161718192021222324252627
  1. #
  2. # Makefile for the linux s390-specific parts of the memory manager.
  3. #
  4. COMPILE_VERSION := __linux_compile_version_id__`hostname | \
  5. tr -c '[0-9A-Za-z]' '_'`__`date | \
  6. tr -c '[0-9A-Za-z]' '_'`_t
  7. ccflags-y := -DCOMPILE_VERSION=$(COMPILE_VERSION) -gstabs -I.
  8. targets := image
  9. targets += bzImage
  10. subdir- := compressed
  11. $(obj)/image: vmlinux FORCE
  12. $(call if_changed,objcopy)
  13. $(obj)/bzImage: $(obj)/compressed/vmlinux FORCE
  14. $(call if_changed,objcopy)
  15. $(obj)/compressed/vmlinux: FORCE
  16. $(Q)$(MAKE) $(build)=$(obj)/compressed $@
  17. install: $(CONFIGURE) $(obj)/bzImage
  18. sh -x $(srctree)/$(obj)/install.sh $(KERNELRELEASE) $(obj)/bzImage \
  19. System.map "$(INSTALL_PATH)"