test: Do not build expo and cedit test if no SDL
authorKory Maincent <kory.maincent@bootlin.com>
Mon, 6 Oct 2025 16:45:04 +0000 (18:45 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 15 Oct 2025 20:17:13 +0000 (14:17 -0600)
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@bootlin.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
test/boot/Makefile

index 00223b4..89538d4 100644 (file)
@@ -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