lib: Centralize logo.bmp inclusion in lib/Makefile.mk
This commit moves the logo.bmp inclusion logic from `src/drivers/intel/fsp2_0/Makefile.mk` to `src/lib/Makefile.mk`. This change centralizes the logo inclusion logic within the `lib` directory, aligning it with the location of `bmp_logo.c` and making it independent of the FSP 2.0 driver. Change-Id: I16ed1cf29b839c25b6ea1c2f10faf3d99dd707c9 Signed-off-by: Subrata Banik <subratabanik@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/86367 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com> Reviewed-by: Julius Werner <jwerner@chromium.org>
This commit is contained in:
parent
c8fc650c5b
commit
801d0a1491
2 changed files with 12 additions and 12 deletions
|
|
@ -126,18 +126,6 @@ $(obj)/Fsp_2_S.fd: $(call strip_quotes,$(CONFIG_FSP_FD_PATH_2)) $(obj)/Fsp_M.fd
|
|||
true
|
||||
endif
|
||||
|
||||
# Add logo to the cbfs image
|
||||
ifneq ($(CONFIG_HAVE_CUSTOM_BMP_LOGO),y)
|
||||
cbfs-files-$(CONFIG_BMP_LOGO) += logo.bmp
|
||||
logo.bmp-file := $(call strip_quotes,$(CONFIG_FSP2_0_LOGO_FILE_NAME))
|
||||
logo.bmp-type := raw
|
||||
ifeq ($(CONFIG_BMP_LOGO_COMPRESS_LZMA),y)
|
||||
logo.bmp-compression := LZMA
|
||||
else ifeq ($(CONFIG_BMP_LOGO_COMPRESS_LZ4),y)
|
||||
logo.bmp-compression := LZ4
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq ($(call strip_quotes,$(CONFIG_FSP_HEADER_PATH)),)
|
||||
CPPFLAGS_common+=-I$(CONFIG_FSP_HEADER_PATH)
|
||||
endif
|
||||
|
|
|
|||
|
|
@ -420,3 +420,15 @@ header_pointer-position := -4
|
|||
header_pointer-type := "cbfs header"
|
||||
|
||||
romstage-y += ux_locales.c
|
||||
|
||||
# Add logo to the cbfs image
|
||||
ifneq ($(CONFIG_HAVE_CUSTOM_BMP_LOGO),y)
|
||||
cbfs-files-$(CONFIG_BMP_LOGO) += logo.bmp
|
||||
logo.bmp-file := $(call strip_quotes,$(CONFIG_FSP2_0_LOGO_FILE_NAME))
|
||||
logo.bmp-type := raw
|
||||
ifeq ($(CONFIG_BMP_LOGO_COMPRESS_LZMA),y)
|
||||
logo.bmp-compression := LZMA
|
||||
else ifeq ($(CONFIG_BMP_LOGO_COMPRESS_LZ4),y)
|
||||
logo.bmp-compression := LZ4
|
||||
endif
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue