diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2009-06-16 18:34:18 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-16 22:47:57 -0400 |
commit | a53c9d5b7115173fba9f82ff8120b624ef206f48 (patch) | |
tree | 156646edfab5b90589254c294b5d94b8713fffd9 | |
parent | 8f3128e714ded7cf1e8c786c204a4f253b5d8ff4 (diff) |
fbdev: generated logo sources depend on scripts/pnmtologo
The generated logo sources are not automatically regenerated if
scripts/pnmtologo.c has changed. Add the missing dependency to fix this.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Tested-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Cc: Krzysztof Helt <krzysztof.h1@poczta.fm>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | drivers/video/logo/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/drivers/video/logo/Makefile b/drivers/video/logo/Makefile index b91251d1fe41..3b437813584c 100644 --- a/drivers/video/logo/Makefile +++ b/drivers/video/logo/Makefile | |||
@@ -37,22 +37,24 @@ extra-y += $(call logo-cfiles,_clut224,ppm) | |||
37 | # Gray 256 | 37 | # Gray 256 |
38 | extra-y += $(call logo-cfiles,_gray256,pgm) | 38 | extra-y += $(call logo-cfiles,_gray256,pgm) |
39 | 39 | ||
40 | pnmtologo := scripts/pnmtologo | ||
41 | |||
40 | # Create commands like "pnmtologo -t mono -n logo_mac_mono -o ..." | 42 | # Create commands like "pnmtologo -t mono -n logo_mac_mono -o ..." |
41 | quiet_cmd_logo = LOGO $@ | 43 | quiet_cmd_logo = LOGO $@ |
42 | cmd_logo = scripts/pnmtologo \ | 44 | cmd_logo = $(pnmtologo) \ |
43 | -t $(patsubst $*_%,%,$(notdir $(basename $<))) \ | 45 | -t $(patsubst $*_%,%,$(notdir $(basename $<))) \ |
44 | -n $(notdir $(basename $<)) -o $@ $< | 46 | -n $(notdir $(basename $<)) -o $@ $< |
45 | 47 | ||
46 | $(obj)/%_mono.c: $(src)/%_mono.pbm FORCE | 48 | $(obj)/%_mono.c: $(src)/%_mono.pbm $(pnmtologo) FORCE |
47 | $(call if_changed,logo) | 49 | $(call if_changed,logo) |
48 | 50 | ||
49 | $(obj)/%_vga16.c: $(src)/%_vga16.ppm FORCE | 51 | $(obj)/%_vga16.c: $(src)/%_vga16.ppm $(pnmtologo) FORCE |
50 | $(call if_changed,logo) | 52 | $(call if_changed,logo) |
51 | 53 | ||
52 | $(obj)/%_clut224.c: $(src)/%_clut224.ppm FORCE | 54 | $(obj)/%_clut224.c: $(src)/%_clut224.ppm $(pnmtologo) FORCE |
53 | $(call if_changed,logo) | 55 | $(call if_changed,logo) |
54 | 56 | ||
55 | $(obj)/%_gray256.c: $(src)/%_gray256.pgm FORCE | 57 | $(obj)/%_gray256.c: $(src)/%_gray256.pgm $(pnmtologo) FORCE |
56 | $(call if_changed,logo) | 58 | $(call if_changed,logo) |
57 | 59 | ||
58 | # Files generated that shall be removed upon make clean | 60 | # Files generated that shall be removed upon make clean |