Back to home page

OSCL-LXR

 
 

    


0001 #
0002 # arch/arm64/boot/Makefile
0003 #
0004 # This file is included by the global makefile so that you can add your own
0005 # architecture-specific flags and dependencies.
0006 #
0007 # This file is subject to the terms and conditions of the GNU General Public
0008 # License.  See the file "COPYING" in the main directory of this archive
0009 # for more details.
0010 #
0011 # Copyright (C) 2012, ARM Ltd.
0012 # Author: Will Deacon <will.deacon@arm.com>
0013 #
0014 # Based on the ia64 boot/Makefile.
0015 #
0016 
0017 OBJCOPYFLAGS_Image :=-O binary -R .note -R .note.gnu.build-id -R .comment -S
0018 
0019 targets := Image Image.bz2 Image.gz Image.lz4 Image.lzma Image.lzo Image.zst
0020 
0021 $(obj)/Image: vmlinux FORCE
0022         $(call if_changed,objcopy)
0023 
0024 $(obj)/Image.bz2: $(obj)/Image FORCE
0025         $(call if_changed,bzip2)
0026 
0027 $(obj)/Image.gz: $(obj)/Image FORCE
0028         $(call if_changed,gzip)
0029 
0030 $(obj)/Image.lz4: $(obj)/Image FORCE
0031         $(call if_changed,lz4)
0032 
0033 $(obj)/Image.lzma: $(obj)/Image FORCE
0034         $(call if_changed,lzma)
0035 
0036 $(obj)/Image.lzo: $(obj)/Image FORCE
0037         $(call if_changed,lzo)
0038 
0039 $(obj)/Image.zst: $(obj)/Image FORCE
0040         $(call if_changed,zstd)