[PATCH] boot: Use correct PHASE_ variable for expo

Simon Glass sjg at chromium.org
Sat Dec 7 15:52:27 CET 2024


This patch was written before the XPL change-over. Update the Makefile
condition to the new way.

Signed-off-by: Simon Glass <sjg at chromium.org>
Fixes: ae3b5928d61 ("x86: coreboot: Allow building an expo for...")

---

 boot/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/boot/Makefile b/boot/Makefile
index b03d628187b..1d7f2a1a24a 100644
--- a/boot/Makefile
+++ b/boot/Makefile
@@ -61,7 +61,7 @@ obj-$(CONFIG_$(PHASE_)LOAD_FIT) += common_fit.o
 obj-$(CONFIG_$(PHASE_)EXPO) += expo.o scene.o expo_build.o
 obj-$(CONFIG_$(PHASE_)EXPO) += scene_menu.o scene_textline.o
 ifdef CONFIG_COREBOOT_SYSINFO
-obj-$(CONFIG_$(SPL_TPL_)EXPO) += expo_build_cb.o
+obj-$(CONFIG_$(PHASE_)EXPO) += expo_build_cb.o
 endif
 
 obj-$(CONFIG_$(PHASE_)BOOTMETH_VBE) += vbe.o
-- 
2.34.1



More information about the U-Boot mailing list