[PATCH] test: Update logic for video test

Tom Rini trini at konsulko.com
Mon Aug 18 18:54:06 CEST 2025


The video test here is specific to the sandbox SDL video driver, so only
build it when that is enabled rather than VIDEO is enabled.

Reported-by: Alison Chaiken <alison at she-devel.com>
Signed-off-by: Tom Rini <trini at konsulko.com>
---
 test/dm/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/dm/Makefile b/test/dm/Makefile
index 474e77a2151f..2db0e3b8dfd0 100644
--- a/test/dm/Makefile
+++ b/test/dm/Makefile
@@ -126,7 +126,7 @@ obj-$(CONFIG_TEE) += tee.o
 obj-$(CONFIG_TIMER) += timer.o
 obj-$(CONFIG_TPM_V2) += tpm.o
 obj-$(CONFIG_DM_USB) += usb.o
-obj-$(CONFIG_VIDEO) += video.o
+obj-$(CONFIG_VIDEO_SANDBOX_SDL) += video.o
 ifeq ($(CONFIG_VIRTIO_SANDBOX),y)
 obj-y += virtio.o
 obj-$(CONFIG_VIRTIO_RNG) += virtio_device.o
-- 
2.43.0



More information about the U-Boot mailing list