diff options
author | Tom Rini <trini@konsulko.com> | 2021-12-28 19:28:31 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-12-28 19:28:31 +0300 |
commit | 87a9aa604de8a4a50642e25b88af328ab375893b (patch) | |
tree | 863b4beef53827cddf2813dd7627aaa0bac62cda /scripts/Makefile.lib | |
parent | 111a8b57354bb5aff55635502a0cdf74cb63e835 (diff) | |
parent | 92302ab1a279859824ec0f2e3864be44e883bff9 (diff) | |
download | u-boot-87a9aa604de8a4a50642e25b88af328ab375893b.tar.xz |
Merge tag 'video-next-20211228' of https://source.denx.de/u-boot/custodians/u-boot-video into next
- various fixes to the sandbox display support
- support for showing a logo without splash screen config
- support for BMP drawing to depths other than 16bpp
- tests for the different types of supported BMP images
- support showing a logo when running coreboot via qemu
Diffstat (limited to 'scripts/Makefile.lib')
-rw-r--r-- | scripts/Makefile.lib | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index b4e63bc0ca..77ad282bbe 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib @@ -374,6 +374,27 @@ cmd_S_ttf= \ $(obj)/%.S: $(src)/%.ttf $(call cmd,S_ttf) +# Splash logos +# --------------------------------------------------------------------------- + +# Generate an assembly file to wrap the splash data +quiet_cmd_S_splash= TTF $@ +# Modified for U-Boot +cmd_S_splash= \ +( \ + echo '.section .rodata.splash.init,"a"'; \ + echo '.balign 16'; \ + echo '.global __splash_$(*F)_begin'; \ + echo '__splash_$(*F)_begin:'; \ + echo '.incbin "$<" '; \ + echo '__splash_$(*F)_end:'; \ + echo '.global __splash_$(*F)_end'; \ + echo '.balign 16'; \ +) > $@ + +$(obj)/%.S: $(src)/%.bmp + $(call cmd,S_splash) + # EFI applications # A Makefile target *.efi is built as EFI application. # A Makefile target *_efi.S wraps *.efi as built-in EFI application. |