18c2ecf20Sopenharmony_ci#
28c2ecf20Sopenharmony_ci# arch/arm64/boot/Makefile
38c2ecf20Sopenharmony_ci#
48c2ecf20Sopenharmony_ci# This file is included by the global makefile so that you can add your own
58c2ecf20Sopenharmony_ci# architecture-specific flags and dependencies.
68c2ecf20Sopenharmony_ci#
78c2ecf20Sopenharmony_ci# This file is subject to the terms and conditions of the GNU General Public
88c2ecf20Sopenharmony_ci# License.  See the file "COPYING" in the main directory of this archive
98c2ecf20Sopenharmony_ci# for more details.
108c2ecf20Sopenharmony_ci#
118c2ecf20Sopenharmony_ci# Copyright (C) 2012, ARM Ltd.
128c2ecf20Sopenharmony_ci# Author: Will Deacon <will.deacon@arm.com>
138c2ecf20Sopenharmony_ci#
148c2ecf20Sopenharmony_ci# Based on the ia64 boot/Makefile.
158c2ecf20Sopenharmony_ci#
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ciOBJCOPYFLAGS_Image :=-O binary -R .note -R .note.gnu.build-id -R .comment -S
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_citargets := Image Image.bz2 Image.gz Image.lz4 Image.lzma Image.lzo
208c2ecf20Sopenharmony_ci
218c2ecf20Sopenharmony_ci$(obj)/Image: vmlinux FORCE
228c2ecf20Sopenharmony_ci	$(call if_changed,objcopy)
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_ci$(obj)/Image.bz2: $(obj)/Image FORCE
258c2ecf20Sopenharmony_ci	$(call if_changed,bzip2)
268c2ecf20Sopenharmony_ci
278c2ecf20Sopenharmony_ci$(obj)/Image.gz: $(obj)/Image FORCE
288c2ecf20Sopenharmony_ci	$(call if_changed,gzip)
298c2ecf20Sopenharmony_ci
308c2ecf20Sopenharmony_ci$(obj)/Image.lz4: $(obj)/Image FORCE
318c2ecf20Sopenharmony_ci	$(call if_changed,lz4)
328c2ecf20Sopenharmony_ci
338c2ecf20Sopenharmony_ci$(obj)/Image.lzma: $(obj)/Image FORCE
348c2ecf20Sopenharmony_ci	$(call if_changed,lzma)
358c2ecf20Sopenharmony_ci
368c2ecf20Sopenharmony_ci$(obj)/Image.lzo: $(obj)/Image FORCE
378c2ecf20Sopenharmony_ci	$(call if_changed,lzo)
388c2ecf20Sopenharmony_ci
398c2ecf20Sopenharmony_ciinstall:
408c2ecf20Sopenharmony_ci	$(CONFIG_SHELL) $(srctree)/$(src)/install.sh $(KERNELRELEASE) \
418c2ecf20Sopenharmony_ci	$(obj)/Image System.map "$(INSTALL_PATH)"
428c2ecf20Sopenharmony_ci
438c2ecf20Sopenharmony_cizinstall:
448c2ecf20Sopenharmony_ci	$(CONFIG_SHELL) $(srctree)/$(src)/install.sh $(KERNELRELEASE) \
458c2ecf20Sopenharmony_ci	$(obj)/Image.gz System.map "$(INSTALL_PATH)"
46