* [PATCH] efi: payload: enable both efi loader and payload for *_efi_defconfig
@ 2026-01-15 12:03 Ahmad Fatoum
2026-01-19 9:56 ` Sascha Hauer
0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2026-01-15 12:03 UTC (permalink / raw)
To: barebox; +Cc: Ahmad Fatoum
We already have an efi_defconfig that's only for use as EFI payload/app.
Let's have all _efi_defconfig thus enable both efi-payload and efi
loader support for extra coverage.
Signed-off-by: Ahmad Fatoum <a.fatoum@barebox.org>
---
Makefile | 2 ++
arch/arm/Makefile | 6 ++----
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/Makefile b/Makefile
index 9c70aa0f49a3..6da8db039b5e 100644
--- a/Makefile
+++ b/Makefile
@@ -619,6 +619,8 @@ endif
%_efiloader_defconfig: FORCE
$(call merge_into_defconfig,$*_defconfig,efi-loader)
+%_efi_defconfig: FORCE
+ $(call merge_into_defconfig,$*_defconfig,efi-loader efi-payload)
config: outputmakefile scripts_basic FORCE
$(Q)$(MAKE) $(build)=scripts/kconfig KCONFIG_DEFCONFIG_LIST= $@
diff --git a/arch/arm/Makefile b/arch/arm/Makefile
index 5efc4c3457db..b38f694339a4 100644
--- a/arch/arm/Makefile
+++ b/arch/arm/Makefile
@@ -8,13 +8,11 @@ am335x_mlo_sdmmc_defconfig:
am335x_mlo_rawflash_defconfig:
$(call merge_into_defconfig,am335x_mlo_defconfig,nomci)
-multi_v8_efi_defconfig:
- $(call merge_into_defconfig,multi_v8_defconfig,efi-payload)
-generated_configs += multi_v8_efi_defconfig
-
# Generic rule applying the fragment is in top-level Makefile
generated_configs += $(patsubst %_defconfig,%_efiloader_defconfig, \
multi_v7_defconfig multi_v8_defconfig)
+generated_configs += $(patsubst %_defconfig,%_efi_defconfig, \
+ multi_v8_defconfig)
KBUILD_CPPFLAGS += -D__ARM__ -fno-strict-aliasing
# Explicitly specifiy 32-bit ARM ISA since toolchain default can be -mthumb:
--
2.47.3
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-01-19 9:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-01-15 12:03 [PATCH] efi: payload: enable both efi loader and payload for *_efi_defconfig Ahmad Fatoum
2026-01-19 9:56 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox