All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] qemu: common: Fix build with update capsule
@ 2021-11-24 14:54 Vincent Stehlé
  2021-11-29 16:28 ` Tom Rini
  0 siblings, 1 reply; 2+ messages in thread
From: Vincent Stehlé @ 2021-11-24 14:54 UTC (permalink / raw)
  To: u-boot; +Cc: Vincent Stehlé, Simon Glass

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 7a6fb28c8e4b ("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 47a25e81d35c ("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 | 1 -
 1 file changed, 1 deletion(-)

diff --git a/board/emulation/common/Makefile b/board/emulation/common/Makefile
index 7ed447a69dc..c5b452e7e34 100644
--- a/board/emulation/common/Makefile
+++ b/board/emulation/common/Makefile
@@ -2,4 +2,3 @@
 
 obj-$(CONFIG_SYS_MTDPARTS_RUNTIME) += qemu_mtdparts.o
 obj-$(CONFIG_SET_DFU_ALT_INFO) += qemu_dfu.o
-obj-$(CONFIG_EFI_CAPSULE_FIRMWARE_MANAGEMENT) += qemu_capsule.o
-- 
2.33.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] qemu: common: Fix build with update capsule
  2021-11-24 14:54 [PATCH] qemu: common: Fix build with update capsule Vincent Stehlé
@ 2021-11-29 16:28 ` Tom Rini
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2021-11-29 16:28 UTC (permalink / raw)
  To: Vincent Stehlé; +Cc: u-boot, Simon Glass

[-- Attachment #1: Type: text/plain, Size: 894 bytes --]

On Wed, Nov 24, 2021 at 03:54:20PM +0100, Vincent Stehlé wrote:

> 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 7a6fb28c8e4b ("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 47a25e81d35c ("Revert "efi_capsule: Move signature from DTB to .rodata"")
> Signed-off-by: Vincent Stehlé <vincent.stehle@arm.com>
> Cc: Simon Glass <sjg@chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-11-29 16:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-24 14:54 [PATCH] qemu: common: Fix build with update capsule Vincent Stehlé
2021-11-29 16:28 ` Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.