Makefile (538bc0f40b364f2c7b81f11aa163f723b138b40f) Makefile (45dd403da851124412d32e3193c21de4a51d29da)
1#
2# arch/arm64/boot/Makefile
3#
4# This file is included by the global makefile so that you can add your own
5# architecture-specific flags and dependencies.
6#
7# This file is subject to the terms and conditions of the GNU General Public
8# License. See the file "COPYING" in the main directory of this archive

--- 30 unchanged lines hidden (view full) ---

39$(obj)/Image.zst: $(obj)/Image FORCE
40 $(call if_changed,zstd)
41
42EFI_ZBOOT_PAYLOAD := Image
43EFI_ZBOOT_BFD_TARGET := elf64-littleaarch64
44EFI_ZBOOT_MACH_TYPE := ARM64
45EFI_ZBOOT_FORWARD_CFI := $(CONFIG_ARM64_BTI_KERNEL)
46
1#
2# arch/arm64/boot/Makefile
3#
4# This file is included by the global makefile so that you can add your own
5# architecture-specific flags and dependencies.
6#
7# This file is subject to the terms and conditions of the GNU General Public
8# License. See the file "COPYING" in the main directory of this archive

--- 30 unchanged lines hidden (view full) ---

39$(obj)/Image.zst: $(obj)/Image FORCE
40 $(call if_changed,zstd)
41
42EFI_ZBOOT_PAYLOAD := Image
43EFI_ZBOOT_BFD_TARGET := elf64-littleaarch64
44EFI_ZBOOT_MACH_TYPE := ARM64
45EFI_ZBOOT_FORWARD_CFI := $(CONFIG_ARM64_BTI_KERNEL)
46
47EFI_ZBOOT_OBJCOPY_FLAGS = --add-symbol zboot_code_size=0x$(shell \
48 $(NM) vmlinux|grep _kernel_codesize|cut -d' ' -f1)
49
47include $(srctree)/drivers/firmware/efi/libstub/Makefile.zboot
50include $(srctree)/drivers/firmware/efi/libstub/Makefile.zboot