[PATCH V7 03/14] drivers: Makefile: Add rule to compile video driver

Nikhil M Jain n-jain1 at ti.com
Mon Apr 10 09:28:32 CEST 2023


Compile video driver at SPL using CONFIG_SPL_VIDEO.

Signed-off-by: Nikhil M Jain <n-jain1 at ti.com>
Reviewed-by: Devarsh Thakkar <devarsht at ti.com>
Reviewed-by: Simon Glass <sjg at chromium.org>
Tested-by: Simon Glass <sjg at chromium.org>  
---
V7:
- Add Reviewed-by and Tested-by tag.

V6:
- Add Reviewed-by tag
- Commit message updated.

V5:
- Add rule to build video at SPL using CONFIG_SPL_VIDEO and retain
  obj-y +=video for u-boot proper.

V4:
- No change

V3 (patch introduced):
- Add rule to compile video driver at SPL.

 drivers/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/Makefile b/drivers/Makefile
index 58be410135..928a8b0e9d 100644
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -61,6 +61,7 @@ obj-$(CONFIG_SPL_USB_HOST) += usb/host/
 obj-$(CONFIG_SPL_SATA) += ata/ scsi/
 obj-$(CONFIG_SPL_LEGACY_BLOCK) += block/
 obj-$(CONFIG_SPL_THERMAL) += thermal/
+obj-$(CONFIG_SPL_VIDEO) +=video/
 
 endif
 endif
-- 
2.34.1



More information about the U-Boot mailing list