path: root/Makefile
diff options
authorChe-Liang Chiou <clchiou@chromium.org>2011-10-20 23:04:20 +0000
committerAnatolij Gustschin <agust@denx.de>2011-11-15 23:58:26 +0100
commitc270730f580e85ddab82e981abf8a518f78ae803 (patch)
tree7f21f57ea70f8629a7c3339a8690dc04645b109b /Makefile
parent02110903a83539da35cf6b1bbd853ce0351f7c95 (diff)
tools: logo: split bmp arrays from bmp_logo.h
The generated header bmp_logo.h is useful even outside common/lcd.c for the logo dimension. However, the problem is, the generated bmp_logo.h cannot be included multiple times because bmp_logo_palette[] and bmp_logo_bitmap[] are defined in the bmp_logo.h. This patch fixes this by defining these arrays in another header bmp_logo_data.h and in bmp_logo.h only declaring these arrays. Signed-off-by: Che-Liang Chiou <clchiou@chromium.org> Acked-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'Makefile')
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 294c76201..938df4e23 100644
--- a/Makefile
+++ b/Makefile
@@ -763,6 +763,7 @@ clean:
$(obj)arch/blackfin/cpu/bootrom-asm-offsets.[chs] \
@rm -f $(obj)include/bmp_logo.h
+ @rm -f $(obj)include/bmp_logo_data.h
@rm -f $(obj)lib/asm-offsets.s
@rm -f $(obj)include/generated/asm-offsets.h
@rm -f $(obj)$(CPUDIR)/$(SOC)/asm-offsets.s