Makefile (b19efcabb587e5470a423ef778905f47e5a47f1a) Makefile (5f2fb52fac15a8a8e10ce020dd532504a8abfc4e)
1# SPDX-License-Identifier: GPL-2.0
2# Makefile for the Linux logos
3
4obj-$(CONFIG_LOGO) += logo.o
5obj-$(CONFIG_LOGO_LINUX_MONO) += logo_linux_mono.o
6obj-$(CONFIG_LOGO_LINUX_VGA16) += logo_linux_vga16.o
7obj-$(CONFIG_LOGO_LINUX_CLUT224) += logo_linux_clut224.o
8obj-$(CONFIG_LOGO_DEC_CLUT224) += logo_dec_clut224.o

--- 4 unchanged lines hidden (view full) ---

13obj-$(CONFIG_LOGO_SUPERH_MONO) += logo_superh_mono.o
14obj-$(CONFIG_LOGO_SUPERH_VGA16) += logo_superh_vga16.o
15obj-$(CONFIG_LOGO_SUPERH_CLUT224) += logo_superh_clut224.o
16
17obj-$(CONFIG_SPU_BASE) += logo_spe_clut224.o
18
19# How to generate logo's
20
1# SPDX-License-Identifier: GPL-2.0
2# Makefile for the Linux logos
3
4obj-$(CONFIG_LOGO) += logo.o
5obj-$(CONFIG_LOGO_LINUX_MONO) += logo_linux_mono.o
6obj-$(CONFIG_LOGO_LINUX_VGA16) += logo_linux_vga16.o
7obj-$(CONFIG_LOGO_LINUX_CLUT224) += logo_linux_clut224.o
8obj-$(CONFIG_LOGO_DEC_CLUT224) += logo_dec_clut224.o

--- 4 unchanged lines hidden (view full) ---

13obj-$(CONFIG_LOGO_SUPERH_MONO) += logo_superh_mono.o
14obj-$(CONFIG_LOGO_SUPERH_VGA16) += logo_superh_vga16.o
15obj-$(CONFIG_LOGO_SUPERH_CLUT224) += logo_superh_clut224.o
16
17obj-$(CONFIG_SPU_BASE) += logo_spe_clut224.o
18
19# How to generate logo's
20
21hostprogs-y := pnmtologo
21hostprogs := pnmtologo
22
23# Create commands like "pnmtologo -t mono -n logo_mac_mono -o ..."
24quiet_cmd_logo = LOGO $@
25 cmd_logo = $(obj)/pnmtologo -t $(lastword $(subst _, ,$*)) -n $* -o $@ $<
26
27$(obj)/%.c: $(src)/%.pbm $(obj)/pnmtologo FORCE
28 $(call if_changed,logo)
29
30$(obj)/%.c: $(src)/%.ppm $(obj)/pnmtologo FORCE
31 $(call if_changed,logo)
32
33$(obj)/%.c: $(src)/%.pgm $(obj)/pnmtologo FORCE
34 $(call if_changed,logo)
35
36# generated C files
37targets += *_mono.c *_vga16.c *_clut224.c *_gray256.c
22
23# Create commands like "pnmtologo -t mono -n logo_mac_mono -o ..."
24quiet_cmd_logo = LOGO $@
25 cmd_logo = $(obj)/pnmtologo -t $(lastword $(subst _, ,$*)) -n $* -o $@ $<
26
27$(obj)/%.c: $(src)/%.pbm $(obj)/pnmtologo FORCE
28 $(call if_changed,logo)
29
30$(obj)/%.c: $(src)/%.ppm $(obj)/pnmtologo FORCE
31 $(call if_changed,logo)
32
33$(obj)/%.c: $(src)/%.pgm $(obj)/pnmtologo FORCE
34 $(call if_changed,logo)
35
36# generated C files
37targets += *_mono.c *_vga16.c *_clut224.c *_gray256.c