summaryrefslogtreecommitdiff
path: root/payloads/external
diff options
context:
space:
mode:
authorSean Rhodes <sean@starlabs.systems>2022-02-14 08:10:34 +0000
committerFelix Held <felix-coreboot@felixheld.de>2022-02-25 20:45:02 +0000
commit9f091608b29526246cb02e79e8b4e8b286824509 (patch)
tree70c2dafbb5f4a34655812fcae695c32e7cea5773 /payloads/external
parent4a9be9f32120794e7ea16d7dd5f4490f17dad623 (diff)
payloads/tianocore: Convert BMP at build time
Convert BMP to the correct format at build time, which removes the requirement for any runtime checks. Signed-off-by: Sean Rhodes <sean@starlabs.systems> Change-Id: I4f1e9c8df2ca7d66f362f9fa5688d6cb443c2581 Reviewed-on: https://review.coreboot.org/c/coreboot/+/61918 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'payloads/external')
-rw-r--r--payloads/external/tianocore/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/payloads/external/tianocore/Makefile b/payloads/external/tianocore/Makefile
index 437e706d55..873ef46cfe 100644
--- a/payloads/external/tianocore/Makefile
+++ b/payloads/external/tianocore/Makefile
@@ -127,10 +127,10 @@ build: update checktools
if [ -n "$(CONFIG_TIANOCORE_BOOTSPLASH_FILE)" ]; then \
echo " Copying custom bootsplash image"; \
case "$(CONFIG_TIANOCORE_BOOTSPLASH_FILE)" in \
- /*) cp $(CONFIG_TIANOCORE_BOOTSPLASH_FILE) \
- $(project_dir)/MdeModulePkg/Logo/Logo.bmp;; \
- *) cp $(top)/$(CONFIG_TIANOCORE_BOOTSPLASH_FILE) \
- $(project_dir)/MdeModulePkg/Logo/Logo.bmp;; \
+ /*) convert $(CONFIG_TIANOCORE_BOOTSPLASH_FILE) \
+ BMP3:$(project_dir)/MdeModulePkg/Logo/Logo.bmp;; \
+ *) convert $(top)/$(CONFIG_TIANOCORE_BOOTSPLASH_FILE) \
+ BMP3:$(project_dir)/MdeModulePkg/Logo/Logo.bmp;; \
esac \
fi; \
cd $(project_dir); \