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