[PATCH] test: Do not build expo and cedit test if no SDL

Kory Maincent kory.maincent at bootlin.com
Mon Oct 6 18:45:04 CEST 2025


expo and cedit tests depend on the host having the SDL library.
Build these tests only if VIDEO_SANDBOX_SDL config is enabled.

Signed-off-by: Kory Maincent <kory.maincent at bootlin.com>
---
 test/boot/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/test/boot/Makefile b/test/boot/Makefile
index 00223b44fe0..89538d4f0a6 100644
--- a/test/boot/Makefile
+++ b/test/boot/Makefile
@@ -6,9 +6,11 @@ ifdef CONFIG_UT_BOOTSTD
 obj-$(CONFIG_BOOTSTD) += bootdev.o bootstd_common.o bootflow.o bootmeth.o
 obj-$(CONFIG_FIT) += image.o
 
+ifdef CONFIG_VIDEO_SANDBOX_SDL
 obj-$(CONFIG_EXPO) += expo.o
 obj-$(CONFIG_CEDIT) += cedit.o
 endif
+endif
 
 ifdef CONFIG_SANDBOX
 obj-$(CONFIG_$(PHASE_)CMDLINE) += bootm.o
-- 
2.43.0



More information about the U-Boot mailing list