12f3c7b81SHelge Deller# 22f3c7b81SHelge Deller# Makefile for the linux parisc-specific parts of the boot image creator. 32f3c7b81SHelge Deller# 42f3c7b81SHelge Deller 52f3c7b81SHelge DellerCOMPILE_VERSION := __linux_compile_version_id__`hostname | \ 62f3c7b81SHelge Deller tr -c '[0-9A-Za-z]' '_'`__`date | \ 72f3c7b81SHelge Deller tr -c '[0-9A-Za-z]' '_'`_t 82f3c7b81SHelge Deller 92f3c7b81SHelge Dellerccflags-y := -DCOMPILE_VERSION=$(COMPILE_VERSION) -gstabs -I. 102f3c7b81SHelge Deller 112f3c7b81SHelge Dellertargets := image 122f3c7b81SHelge Dellertargets += bzImage 132f3c7b81SHelge Dellersubdir- := compressed 142f3c7b81SHelge Deller 152f3c7b81SHelge Deller$(obj)/image: vmlinux FORCE 162f3c7b81SHelge Deller $(call if_changed,objcopy) 172f3c7b81SHelge Deller 182f3c7b81SHelge Deller$(obj)/bzImage: $(obj)/compressed/vmlinux FORCE 192f3c7b81SHelge Deller $(call if_changed,objcopy) 202f3c7b81SHelge Deller 212f3c7b81SHelge Deller$(obj)/compressed/vmlinux: FORCE 222f3c7b81SHelge Deller $(Q)$(MAKE) $(build)=$(obj)/compressed $@ 232f3c7b81SHelge Deller 242f3c7b81SHelge Dellerinstall: $(CONFIGURE) $(obj)/bzImage 252f3c7b81SHelge Deller sh -x $(srctree)/$(obj)/install.sh $(KERNELRELEASE) $(obj)/bzImage \ 262f3c7b81SHelge Deller System.map "$(INSTALL_PATH)" 27