From 00ed9753c803402935c6d67e839637c5c144e70b Mon Sep 17 00:00:00 2001 From: Kory Maincent Date: Mon, 6 Oct 2025 18:45:04 +0200 Subject: [PATCH] test: Do not build expo and cedit test if no SDL 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 Reviewed-by: Simon Glass --- 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.47.3