X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=arch%2Farm64%2FMakefile;h=5e56d26a223983546b383cdb90f4a2fbd5027833;hb=8afc66e8d43be8edcf442165b70d50dd33091e68;hp=6e03f15bb041e6b53958c05599aadd6b494a218c;hpb=0715fdb03e2c4f5748d245a231e422602ed29f33;p=linux-block.git diff --git a/arch/arm64/Makefile b/arch/arm64/Makefile index 6e03f15bb041..5e56d26a2239 100644 --- a/arch/arm64/Makefile +++ b/arch/arm64/Makefile @@ -148,12 +148,17 @@ libs-$(CONFIG_EFI_STUB) += $(objtree)/drivers/firmware/efi/libstub/lib.a # Default target when executing plain make boot := arch/arm64/boot + +ifeq ($(CONFIG_EFI_ZBOOT),) KBUILD_IMAGE := $(boot)/Image.gz +else +KBUILD_IMAGE := $(boot)/vmlinuz.efi +endif -all: Image.gz +all: $(notdir $(KBUILD_IMAGE)) -Image: vmlinux +Image vmlinuz.efi: vmlinux $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ Image.%: Image