]> git.baikalelectronics.ru Git - uboot.git/commit
qemu: common: Fix build with update capsule
authorVincent Stehlé <vincent.stehle@arm.com>
Wed, 24 Nov 2021 14:54:20 +0000 (15:54 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 29 Nov 2021 16:15:37 +0000 (11:15 -0500)
commitf7a6a417814497b5e1a67863f2e1e66d0b1f4305
treea38bc2687a76782cf7db4b80b95146afa9ab3c24
parent7d00139ab233ab6abd8c511a4f2adb4c9965acaf
qemu: common: Fix build with update capsule

The common emulation Makefile has a dependency on a non-existent
qemu_capsule.o when building with support for capsule update enabled
(CONFIG_EFI_RUNTIME_UPDATE_CAPSULE=y).
The code which was in qemu_capsule.c has been completely moved to
lib/efi_loader/efi_capsule.c by commit ad59e0b39d7c ("efi_loader: capsule:
add back efi_get_public_key_data()").
Remove the false dependency.

This fixes the following build error:

  make[1]: *** No rule to make target 'board/emulation/common/qemu_capsule.o', needed by 'board/emulation/common/built-in.o'.  Stop.

Fixes: commit ae6e7a0a65aa ("Revert "efi_capsule: Move signature from DTB to .rodata"")
Signed-off-by: Vincent Stehlé <vincent.stehle@arm.com>
Cc: Simon Glass <sjg@chromium.org>
board/emulation/common/Makefile