efi/libstub: zboot: Avoid eager evaluation of objcopy flags
authorArd Biesheuvel <ardb@kernel.org>
Mon, 22 May 2023 06:24:49 +0000 (08:24 +0200)
committerArd Biesheuvel <ardb@kernel.org>
Thu, 25 May 2023 07:26:00 +0000 (09:26 +0200)
commit095aabe338d166f3a9c87bcc9b9b84ba80fdaddf
tree20bc8d73bc9de5b1394be702b5230f4278d9ab09
parentac9a78681b921877518763ba0e89202254349d1b
efi/libstub: zboot: Avoid eager evaluation of objcopy flags

The Make variable containing the objcopy flags may be constructed from
the output of build tools operating on build artifacts, and these may
not exist when doing a make clean.

So avoid evaluating them eagerly, to prevent spurious build warnings.

Suggested-by: Pedro Falcato <pedro.falcato@gmail.com>
Tested-by: Alan Bartlett <ajb@elrepo.org>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
drivers/firmware/efi/libstub/Makefile.zboot