efi/libstub: zboot: Add compressed image to make targets
authorArd Biesheuvel <ardb@kernel.org>
Tue, 21 Mar 2023 14:17:57 +0000 (15:17 +0100)
committerArd Biesheuvel <ardb@kernel.org>
Tue, 21 Mar 2023 14:20:56 +0000 (15:20 +0100)
Avoid needlessly rebuilding the compressed image by adding the file
'vmlinuz' to the 'targets' Kbuild make variable.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
drivers/firmware/efi/libstub/Makefile.zboot

index 43e9a4c..ccdd6a1 100644 (file)
@@ -44,4 +44,4 @@ OBJCOPYFLAGS_vmlinuz.efi := -O binary
 $(obj)/vmlinuz.efi: $(obj)/vmlinuz.efi.elf FORCE
        $(call if_changed,objcopy)
 
-targets += zboot-header.o vmlinuz.o vmlinuz.efi.elf vmlinuz.efi
+targets += zboot-header.o vmlinuz vmlinuz.o vmlinuz.efi.elf vmlinuz.efi