diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-17 02:20:36 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-17 02:20:36 +0400 |
commit | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch) | |
tree | 0bba044c4ce775e45a88a51686b5d9f90697ea9d /drivers/video/logo/Makefile | |
download | linux-1da177e4c3f41524e886b7f1b8a0c1fc7321cac2.tar.xz |
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.
Let it rip!
Diffstat (limited to 'drivers/video/logo/Makefile')
-rw-r--r-- | drivers/video/logo/Makefile | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/drivers/video/logo/Makefile b/drivers/video/logo/Makefile new file mode 100644 index 000000000000..b0d995020bd1 --- /dev/null +++ b/drivers/video/logo/Makefile @@ -0,0 +1,54 @@ +# Makefile for the Linux logos + +obj-$(CONFIG_LOGO) += logo.o +obj-$(CONFIG_LOGO_LINUX_MONO) += logo_linux_mono.o +obj-$(CONFIG_LOGO_LINUX_VGA16) += logo_linux_vga16.o +obj-$(CONFIG_LOGO_LINUX_CLUT224) += logo_linux_clut224.o +obj-$(CONFIG_LOGO_DEC_CLUT224) += logo_dec_clut224.o +obj-$(CONFIG_LOGO_MAC_CLUT224) += logo_mac_clut224.o +obj-$(CONFIG_LOGO_PARISC_CLUT224) += logo_parisc_clut224.o +obj-$(CONFIG_LOGO_SGI_CLUT224) += logo_sgi_clut224.o +obj-$(CONFIG_LOGO_SUN_CLUT224) += logo_sun_clut224.o +obj-$(CONFIG_LOGO_SUPERH_MONO) += logo_superh_mono.o +obj-$(CONFIG_LOGO_SUPERH_VGA16) += logo_superh_vga16.o +obj-$(CONFIG_LOGO_SUPERH_CLUT224) += logo_superh_clut224.o + +# How to generate logo's + +# Use logo-cfiles to retreive list of .c files to be built +logo-cfiles = $(notdir $(patsubst %.$(2), %.c, \ + $(wildcard $(srctree)/$(src)/*$(1).$(2)))) + + +# Mono logos +extra-y += $(call logo-cfiles,_mono,pbm) + +# VGA16 logos +extra-y += $(call logo-cfiles,_vga16,ppm) + +# 224 Logos +extra-y += $(call logo-cfiles,_clut224,ppm) + +# Gray 256 +extra-y += $(call logo-cfiles,_gray256,pgm) + +# Create commands like "pnmtologo -t mono -n logo_mac_mono -o ..." +quiet_cmd_logo = LOGO $@ + cmd_logo = scripts/pnmtologo \ + -t $(patsubst $*_%,%,$(notdir $(basename $<))) \ + -n $(notdir $(basename $<)) -o $@ $< + +$(obj)/%_mono.c: $(src)/%_mono.pbm FORCE + $(call if_changed,logo) + +$(obj)/%_vga16.c: $(src)/%_vga16.ppm FORCE + $(call if_changed,logo) + +$(obj)/%_clut224.c: $(src)/%_clut224.ppm FORCE + $(call if_changed,logo) + +$(obj)/%_gray256.c: $(src)/%_gray256.pgm FORCE + $(call if_changed,logo) + +# Files generated that shall be removed upon make clean +clean-files := *.o *_mono.c *_vga16.c *_clut224.c *_gray256.c |