This series allows the user to replace the default kernel boot logo by a custom one directly in the kernel configuration. This makes it easier to customise the boot logo without the need to modify the sources and allows such customisation to remain persistent after applying the configuration to another version of the kernel.
Patch #1 and #2 are clean-up and preparation while patch #3 is the main feature of this series: making the boot logo customisable. While working on this, I realised that managing the logo file directly in Kbuild allows us to simplify how we handle the different existing variants of the Tux logo. This series thus ends with a clean-up which moves all the logo selection logic to Kbuild, simplifying the Makefile and C code. Patch #4 and #5 do a tree-wide clean-up on the Kconfig symbols that are to be removed in patch #6 and patch #6 simplify the logic as explained above. Signed-off-by: Vincent Mailhol <[email protected]> --- Vincent Mailhol (6): video/logo: remove orphan .pgm Makefile rule video/logo: add a type parameter to the logo makefile function video/logo: allow custom logo newport_con: depend on LOGO_LINUX_CLUT224 instead of LOGO_SGI_CLUT224 sh: defconfig: remove CONFIG_LOGO_SUPERH_* video/logo: move logo selection logic to Kconfig arch/sh/configs/dreamcast_defconfig | 2 - arch/sh/configs/ecovec24_defconfig | 2 - arch/sh/configs/kfr2r09_defconfig | 2 - arch/sh/configs/migor_defconfig | 2 - arch/sh/configs/rts7751r2d1_defconfig | 2 - arch/sh/configs/rts7751r2dplus_defconfig | 2 - arch/sh/configs/se7724_defconfig | 2 - arch/sh/configs/se7780_defconfig | 2 - arch/sh/configs/sh7785lcr_defconfig | 3 -- arch/sh/configs/urquell_defconfig | 3 -- drivers/video/console/newport_con.c | 4 +- drivers/video/logo/Kconfig | 84 ++++++++++++++++++-------------- drivers/video/logo/Makefile | 26 +++------- drivers/video/logo/logo.c | 46 ++--------------- include/linux/linux_logo.h | 9 ---- 15 files changed, 61 insertions(+), 130 deletions(-) --- base-commit: 8640b74557fc8b4c300030f6ccb8cd078f665ec8 change-id: 20251227-custom-logo-932df316a02c Best regards, -- Vincent Mailhol <[email protected]>
