From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [PATCH 1/2] fixup! efi: add option to generate vfat file for barebox.efi
Date: Thu, 11 Dec 2025 20:33:12 +0100 [thread overview]
Message-ID: <20251211193315.3927292-1-a.fatoum@pengutronix.de> (raw)
efi: fix generation for non !EFI_STUB configurations
The if currently always succeeded and trying to build the payload code
on sandbox unearthes another issue, so fix both.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
efi/payload/Kconfig | 1 +
images/Makefile | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/efi/payload/Kconfig b/efi/payload/Kconfig
index 69dc50a7c6dd..01f54ee7cf10 100644
--- a/efi/payload/Kconfig
+++ b/efi/payload/Kconfig
@@ -2,6 +2,7 @@
config EFI_PAYLOAD_ESP_IMAGE
bool "Generate barebox.esp image from payload"
+ depends on EFI_STUB || !PBL_IMAGE
config EFI_HANDOVER_PROTOCOL
bool "EFI Handover protocol (DEPRECATED)"
diff --git a/images/Makefile b/images/Makefile
index 119e7a6e2b8e..69447fd64541 100644
--- a/images/Makefile
+++ b/images/Makefile
@@ -215,7 +215,7 @@ FILE_barebox.img = start_pbl.pblb
image-$(CONFIG_PBL_SINGLE_IMAGE) += barebox.img
endif
-FILE_barebox.vfat = $(if CONFIG_EFI_STUB,barebox-dt-2nd.img,../barebox.efi)
+FILE_barebox.vfat = $(if $(CONFIG_EFI_STUB),barebox-dt-2nd.img,../barebox.efi)
FILE_barebox.esp = barebox.vfat
image-$(CONFIG_EFI_PAYLOAD_ESP_IMAGE) += barebox.esp barebox.vfat
--
2.47.3
next reply other threads:[~2025-12-11 19:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-11 19:33 Ahmad Fatoum [this message]
2025-12-11 19:33 ` [PATCH 2/2] efi: payload: enable build for sandbox Ahmad Fatoum
2025-12-15 7:25 ` [PATCH 1/2] fixup! efi: add option to generate vfat file for barebox.efi Sascha Hauer
2025-12-15 7:34 ` Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251211193315.3927292-1-a.fatoum@pengutronix.de \
--to=a.fatoum@pengutronix.de \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox