All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot-Users] [PATCH] Generic LOGO support
@ 2006-07-12  8:18 Rodolfo Giometti
  2006-07-12  9:40 ` Rodolfo Giometti
  0 siblings, 1 reply; 7+ messages in thread
From: Rodolfo Giometti @ 2006-07-12  8:18 UTC (permalink / raw)
  To: u-boot

Hello,

here a patch to allow several boards to define their own LOGO file.

At configuration time we can specify the LOGO file as follow:

   wwpc1000_config         :       unconfig
           @ >include/config.h
           @echo "#define CONFIG_WWPC1000          100" >>include/config.h
           @./mkconfig -a wwpc1000 mips mips wwpc1000
           @echo "CROSS_COMPILE = mipsel-linux-" >>include/config.mk
           @echo "LOGO = wwpc1000.bmp" >>include/config.mk

Ciao,

Rodolfo

-- 

GNU/Linux Solutions                  e-mail:    giometti at enneenne.com
Linux Device Driver                             giometti at gnudd.com
Embedded Systems                     		giometti at linux.it
UNIX programming                     phone:     +39 349 2432127
-------------- next part --------------
diff --git a/Makefile b/Makefile
index f7a5f06..3ae8e3f 100644
--- a/Makefile
+++ b/Makefile
@@ -52,7 +52,7 @@ export	TOPDIR
 ifeq (include/config.mk,$(wildcard include/config.mk))
 # load ARCH, BOARD, and CPU configuration
 include include/config.mk
-export	ARCH CPU BOARD VENDOR SOC
+export	ARCH CPU BOARD VENDOR SOC LOGO
 ifndef CROSS_COMPILE
 ifeq ($(HOSTARCH),ppc)
 CROSS_COMPILE =
diff --git a/tools/Makefile b/tools/Makefile
index d3dcc7d..5b36ba2 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -38,8 +38,10 @@ #endif
 
 LOGO_H	= $(TOPDIR)/include/bmp_logo.h
 
-ifeq ($(LOGO_BMP),)
-LOGO_BMP= logos/denx.bmp
+ifeq ($(LOGO),)
+LOGO_BMP= denx.bmp
+else
+LOGO_BMP= $(LOGO)
 endif
 
 #-------------------------------------------------------------------------
@@ -195,8 +197,8 @@ crc32.c:
 		@rm -f crc32.c
 		ln -s ../lib_generic/crc32.c crc32.c
 
-$(LOGO_H):	bmp_logo $(LOGO_BMP)
-		./bmp_logo $(LOGO_BMP) >$@
+$(LOGO_H):	bmp_logo logos/$(LOGO_BMP)
+		./bmp_logo logos/$(LOGO_BMP) >$@ 2>/tmp/gu
 
 #########################################################################
 

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-07-13  7:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-12  8:18 [U-Boot-Users] [PATCH] Generic LOGO support Rodolfo Giometti
2006-07-12  9:40 ` Rodolfo Giometti
2006-07-12 17:52   ` Wolfgang Denk
2006-07-13  7:06     ` Rodolfo Giometti
2006-07-13  7:16       ` Wolfgang Denk
2006-07-13  7:32         ` Rodolfo Giometti
2006-07-13  7:57         ` [U-Boot-Users] Does the UBoot-1.1.4 support the RMII on PPC440GP? Denny

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.