]> git.baikalelectronics.ru Git - uboot.git/commit
efi_loader: correctly identify binary name
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 10 Jun 2022 16:24:48 +0000 (18:24 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 12 Jun 2022 07:17:54 +0000 (09:17 +0200)
commitc014055f6073ed3e5564b7d10cfd6dfe448393e4
tree909e04389bf8e5d92660b1b8045456686fb8827a
parent4f4b598070e4d0e5ea1a1b60da46030559536baf
efi_loader: correctly identify binary name

Only on the sandbox the default EFI binary name (e.g. BOOTX64.EFI) must
match the host architecture.

In all other cases we must use the target architecture.

Use #elif where appropriate.

Reported-by: Vagrant Cascadian <vagrant@reproducible-builds.org>
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
include/efi_default_filename.h