Skip to contentSkip to conversation

Fix EFI boot file name definition for 64-bit x86

PATCH In review Jeremy Compostella 1 participant 1 message Mar 19, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 4/5 Fix EFI boot file name definition for 64-bit x86

This change aligns the preprocessor directive with the standard configuration flag used for detecting 64-bit x86 architecture.

---
 include/config_distro_bootcmd.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/config_distro_bootcmd.h +1 -1
index 0a4e4b8ff85..8ac3a4feeb8 100644
@@ -112,7 +112,7 @@
 #define BOOTEFI_NAME "bootarm.efi"
 #elif defined(CONFIG_X86_RUN_32BIT)
 #define BOOTEFI_NAME "bootia32.efi"
-#elif defined(CONFIG_X86_RUN_64BIT)
+#elif defined(CONFIG_X86_64)
 #define BOOTEFI_NAME "bootx64.efi"
 #elif defined(CONFIG_ARCH_RV32I)
 #define BOOTEFI_NAME "bootriscv32.efi"
Signature · 1 line
2.48.1