1*4882a593Smuzhiyun# 2*4882a593Smuzhiyun# arch/arm64/boot/Makefile 3*4882a593Smuzhiyun# 4*4882a593Smuzhiyun# This file is included by the global makefile so that you can add your own 5*4882a593Smuzhiyun# architecture-specific flags and dependencies. 6*4882a593Smuzhiyun# 7*4882a593Smuzhiyun# This file is subject to the terms and conditions of the GNU General Public 8*4882a593Smuzhiyun# License. See the file "COPYING" in the main directory of this archive 9*4882a593Smuzhiyun# for more details. 10*4882a593Smuzhiyun# 11*4882a593Smuzhiyun# Copyright (C) 2012, ARM Ltd. 12*4882a593Smuzhiyun# Author: Will Deacon <will.deacon@arm.com> 13*4882a593Smuzhiyun# 14*4882a593Smuzhiyun# Based on the ia64 boot/Makefile. 15*4882a593Smuzhiyun# 16*4882a593Smuzhiyun 17*4882a593SmuzhiyunOBJCOPYFLAGS_Image :=-O binary -R .note -R .note.gnu.build-id -R .comment -S 18*4882a593Smuzhiyun 19*4882a593Smuzhiyuntargets := Image Image.bz2 Image.gz Image.lz4 Image.lzma Image.lzo 20*4882a593Smuzhiyun 21*4882a593Smuzhiyun$(obj)/Image: vmlinux FORCE 22*4882a593Smuzhiyun $(call if_changed,objcopy) 23*4882a593Smuzhiyun 24*4882a593Smuzhiyun$(obj)/Image.bz2: $(obj)/Image FORCE 25*4882a593Smuzhiyun $(call if_changed,bzip2) 26*4882a593Smuzhiyun 27*4882a593Smuzhiyun$(obj)/Image.gz: $(obj)/Image FORCE 28*4882a593Smuzhiyun $(call if_changed,gzip) 29*4882a593Smuzhiyun 30*4882a593Smuzhiyun$(obj)/Image.lz4: $(obj)/Image FORCE 31*4882a593Smuzhiyun $(call if_changed,lz4c) 32*4882a593Smuzhiyun 33*4882a593Smuzhiyun$(obj)/Image.lzma: $(obj)/Image FORCE 34*4882a593Smuzhiyun $(call if_changed,lzma) 35*4882a593Smuzhiyun 36*4882a593Smuzhiyun$(obj)/Image.lzo: $(obj)/Image FORCE 37*4882a593Smuzhiyun $(call if_changed,lzo) 38*4882a593Smuzhiyun 39*4882a593Smuzhiyuninstall: 40*4882a593Smuzhiyun $(CONFIG_SHELL) $(srctree)/$(src)/install.sh $(KERNELRELEASE) \ 41*4882a593Smuzhiyun $(obj)/Image System.map "$(INSTALL_PATH)" 42*4882a593Smuzhiyun 43*4882a593Smuzhiyunzinstall: 44*4882a593Smuzhiyun $(CONFIG_SHELL) $(srctree)/$(src)/install.sh $(KERNELRELEASE) \ 45*4882a593Smuzhiyun $(obj)/Image.gz System.map "$(INSTALL_PATH)" 46