xref: /linux/arch/arm64/boot/Makefile (revision 0723c05fb75e4428b79b5cd657af7496b2604422)
18c2c3df3SCatalin Marinas#
28c2c3df3SCatalin Marinas# arch/arm64/boot/Makefile
38c2c3df3SCatalin Marinas#
48c2c3df3SCatalin Marinas# This file is included by the global makefile so that you can add your own
58c2c3df3SCatalin Marinas# architecture-specific flags and dependencies.
68c2c3df3SCatalin Marinas#
78c2c3df3SCatalin Marinas# This file is subject to the terms and conditions of the GNU General Public
88c2c3df3SCatalin Marinas# License.  See the file "COPYING" in the main directory of this archive
98c2c3df3SCatalin Marinas# for more details.
108c2c3df3SCatalin Marinas#
118c2c3df3SCatalin Marinas# Copyright (C) 2012, ARM Ltd.
128c2c3df3SCatalin Marinas# Author: Will Deacon <will.deacon@arm.com>
138c2c3df3SCatalin Marinas#
148c2c3df3SCatalin Marinas# Based on the ia64 boot/Makefile.
158c2c3df3SCatalin Marinas#
168c2c3df3SCatalin Marinas
178c2c3df3SCatalin Marinastargets := Image Image.gz
188c2c3df3SCatalin Marinas
198c2c3df3SCatalin Marinas$(obj)/Image: vmlinux FORCE
208c2c3df3SCatalin Marinas	$(call if_changed,objcopy)
218c2c3df3SCatalin Marinas
22*0723c05fSOlof Johansson$(obj)/Image.bz2: $(obj)/Image FORCE
23*0723c05fSOlof Johansson	$(call if_changed,bzip2)
24*0723c05fSOlof Johansson
258c2c3df3SCatalin Marinas$(obj)/Image.gz: $(obj)/Image FORCE
268c2c3df3SCatalin Marinas	$(call if_changed,gzip)
278c2c3df3SCatalin Marinas
28*0723c05fSOlof Johansson$(obj)/Image.lz4: $(obj)/Image FORCE
29*0723c05fSOlof Johansson	$(call if_changed,lz4)
30*0723c05fSOlof Johansson
31*0723c05fSOlof Johansson$(obj)/Image.lzma: $(obj)/Image FORCE
32*0723c05fSOlof Johansson	$(call if_changed,lzma)
33*0723c05fSOlof Johansson
34*0723c05fSOlof Johansson$(obj)/Image.lzo: $(obj)/Image FORCE
35*0723c05fSOlof Johansson	$(call if_changed,lzo)
36*0723c05fSOlof Johansson
378c2c3df3SCatalin Marinasinstall: $(obj)/Image
388c2c3df3SCatalin Marinas	$(CONFIG_SHELL) $(srctree)/$(src)/install.sh $(KERNELRELEASE) \
398c2c3df3SCatalin Marinas	$(obj)/Image System.map "$(INSTALL_PATH)"
408c2c3df3SCatalin Marinas
418c2c3df3SCatalin Marinaszinstall: $(obj)/Image.gz
428c2c3df3SCatalin Marinas	$(CONFIG_SHELL) $(srctree)/$(src)/install.sh $(KERNELRELEASE) \
438c2c3df3SCatalin Marinas	$(obj)/Image.gz System.map "$(INSTALL_PATH)"
44