[PATCH 6/9] cmd: Makefile: Add rules to build bmp.c and read.c at SPL
    Nikhil M Jain 
    n-jain1 at ti.com
       
    Mon Mar 13 11:14:56 CET 2023
    
    
  
Splash support requires functions which are in bmp.c and read.c to
enable display of bmp image and reading image from boot media. Enable
their compilation at SPL stage, using Kconfigs SPL_CMD_BMP,
SPL_CMD_READ.
Signed-off-by: Nikhil M Jain <n-jain1 at ti.com>
Reviewed-by: Devarsh Thakkar <devarsht at ti.com>
---
 cmd/Makefile | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/cmd/Makefile b/cmd/Makefile
index 36d2daf22a..e2ed35559c 100644
--- a/cmd/Makefile
+++ b/cmd/Makefile
@@ -232,6 +232,8 @@ obj-$(CONFIG_ARCH_MVEBU) += mvebu/
 endif # !CONFIG_SPL_BUILD
 
 obj-$(CONFIG_$(SPL_)CMD_TLV_EEPROM) += tlv_eeprom.o
+obj-$(CONFIG_$(SPL_)CMD_BMP) += bmp.o
+obj-$(CONFIG_$(SPL_)CMD_READ) += read.o
 
 # core command
 obj-y += nvedit.o
-- 
2.34.1
    
    
More information about the U-Boot
mailing list