]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
video/logo: add a type parameter to the logo makefile function
authorVincent Mailhol <mailhol@kernel.org>
Thu, 8 Jan 2026 19:04:50 +0000 (20:04 +0100)
committerHelge Deller <deller@gmx.de>
Sat, 14 Feb 2026 10:09:46 +0000 (11:09 +0100)
commita7aa2b512b141afe638b715f7b84c1588cdc9845
tree862c6d57aaa1a4fefa58c45b2299b2a003516e45
parent672b35216282199fa2906fb32697a25a686a1adc
video/logo: add a type parameter to the logo makefile function

When translating a portable pixmap file into a .c file, the pnmtologo
tool expects to receive the image type (either mono, vga16 or clut224)
as an argument under the -t option.

Currently, this information is stored in the file name. Because we
will allow for custom logo in an upcoming change, it is preferable to
decouple the image name from its type.

Add a new $2 parameter to the Makefile logo function which contains
the image type.

Update all the individual targets to provide this new argument.

Signed-off-by: Vincent Mailhol <mailhol@kernel.org>
Signed-off-by: Helge Deller <deller@gmx.de>
drivers/video/logo/Makefile