[coreboot-gerrit] New patch to review for coreboot: splash: Put the suffix of splash file to CBFS name

Zheng Bao (zheng.bao@amd.com) gerrit at coreboot.org
Sat May 21 05:08:14 CEST 2016


Zheng Bao (zheng.bao at amd.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/14932

-gerrit

commit 47ddf3d3c3dcdbe4bc20eb9ab4a028304db5f00a
Author: zbao <fishbaozi at gmail.com>
Date:   Sat May 21 10:20:58 2016 +0800

    splash: Put the suffix of splash file to CBFS name
    
    Change-Id: I06c4b14aae7f75be3406652a94612b5f30ce91c2
    Signed-off-by: Zheng Bao <fishbaozi at gmail.com>
---
 Makefile.inc | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/Makefile.inc b/Makefile.inc
index 7b8e79b..574f2fe 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -836,9 +836,10 @@ cbfs-files-$(CONFIG_INCLUDE_CONFIG_FILE) += revision
 revision-file := $(obj)/build.h
 revision-type := raw
 
-cbfs-files-$(CONFIG_BOOTSPLASH_IMAGE) += bootsplash.jpg
-bootsplash.jpg-file := $(call strip_quotes,$(CONFIG_BOOTSPLASH_FILE))
-bootsplash.jpg-type := bootsplash
+BOOTSPLASH_SUFFIX=$(suffix $(call strip_quotes,$(CONFIG_BOOTSPLASH_FILE)))
+cbfs-files-$(CONFIG_BOOTSPLASH_IMAGE) += bootsplash$(BOOTSPLASH_SUFFIX)
+bootsplash$(BOOTSPLASH_SUFFIX)-file := $(call strip_quotes,$(CONFIG_BOOTSPLASH_FILE))
+bootsplash$(BOOTSPLASH_SUFFIX)-type := bootsplash
 
 cbfs-files-$(CONFIG_BOARD_ID_MANUAL) += board_id
 board_id-file := $(obj)/board_id



More information about the coreboot-gerrit mailing list