From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rodolfo Giometti Date: Thu, 13 Jul 2006 09:06:06 +0200 Subject: [U-Boot-Users] [PATCH] Generic LOGO support In-Reply-To: <20060712175237.01261353B04@atlas.denx.de> References: <20060712094044.GA8581@gundam.enneenne.com> <20060712175237.01261353B04@atlas.denx.de> Message-ID: <20060713070606.GC13250@hulk.enneenne.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Jul 12, 2006 at 07:52:37PM +0200, Wolfgang Denk wrote: > > May I ask you to debug and test your patches BEFORE posting, please? > Thanks. Of course I did it, but... :) > And then don't send bits and pieces of corrections, please repost a > sane patch instead. Ok, attached. 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) >$@ ######################################################################### -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://lists.denx.de/pipermail/u-boot/attachments/20060713/65e55afd/attachment.pgp