
From: Simon Glass <sjg@chromium.org> This rule assumes that any .bmp file relates to the logo. We want to be able to add a second BMP in some cases, so update the rule to match a filename ending in '_logo.bmp' Signed-off-by: Simon Glass <sjg@chromium.org> --- scripts/Makefile.lib | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index d360e569645..d0327c00d7d 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib @@ -478,21 +478,21 @@ $(obj)/%.S: $(src)/%.ttf # --------------------------------------------------------------------------- # Generate an assembly file to wrap the splash data -quiet_cmd_S_splash= TTF $@ +quiet_cmd_S_splash= SPLASH $@ # 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 '.global __splash_$(*F)_logo_begin'; \ + echo '__splash_$(*F)_logo_begin:'; \ echo '.incbin "$<" '; \ - echo '__splash_$(*F)_end:'; \ - echo '.global __splash_$(*F)_end'; \ + echo '__splash_$(*F)_logo_end:'; \ + echo '.global __splash_$(*F)_logo_end'; \ echo '.balign 16'; \ ) > $@ -$(obj)/%.S: $(src)/%.bmp +$(obj)/%_logo.S: $(src)/%_logo.bmp $(call cmd,S_splash) # EFI applications -- 2.43.0