From: Rodolfo Giometti <giometti@enneenne.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH] LOGO: Allow each board to define its own logo.
Date: Mon, 28 May 2007 09:52:37 +0200 [thread overview]
Message-ID: <20070528075237.GD20506@gundam.enneenne.com> (raw)
In-Reply-To: <20070527205825.A3EF0353428@atlas.denx.de>
On Sun, May 27, 2007 at 10:58:25PM +0200, Wolfgang Denk wrote:
> In message <20070527145833.GS21180@enneenne.com> you wrote:
> > This allow developers to define per board logo file into boards' main
> > configuration file (board/*/config.mk) as follow:
>
> Sorry, but this is a misconception. The board/*/config.mk is NOT a
> configuration file intended for such settings. The boards' main con-
> figuration file is include/configs/<name>.h, and as far as possible
> all configuration should be set there.
But doing like this how can I define the file to supply to the
logo_bmp utility? This settings is needed to get the file
"include/bmp_logo.h" which in turn is used for the compilation stage.
> > ifeq ($(LOGO_BMP),)
> > -LOGO_BMP= logos/denx.bmp
> > +LOGO_BMP= tools/logos/denx.bmp
> > endif
> >
> > #-------------------------------------------------------------------------
>
> Until here, I see no advantage by this patch. I don't think adding
> another level of subdirectoris is a win.
This is due the next change.
> > @@ -203,8 +203,8 @@ $(obj)crc32.c:
> > @rm -f $(obj)crc32.c
> > ln -s $(src)../lib_generic/crc32.c $(obj)crc32.c
> >
> > -$(LOGO_H): $(obj)bmp_logo $(LOGO_BMP)
> > - $(obj)./bmp_logo $(LOGO_BMP) >$@
> > +$(LOGO_H): $(obj)bmp_logo $(TOPDIR)/$(LOGO_BMP)
> > + $(obj)./bmp_logo $(TOPDIR)/$(LOGO_BMP) >$@
>
> But this is a change to the worse. Before, I could define (for example
> on the "make" command line:
>
> LOGO_BMP=/some/other/path/foo.bmp
>
> which will now break as you unconditionally prefix this setting with
> $(TOPDIR).
I see...
I'm trying to find a good way to allow developers to define their own
logos since currently only denx.bmp is used in a not configurable way
(or at least I didn't find it).
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
prev parent reply other threads:[~2007-05-28 7:52 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-25 14:20 [U-Boot-Users] [PATCH] LOGO: All logos must be placed into the "logos" directory Rodolfo Giometti
2007-05-25 14:26 ` Wolfgang Denk
2007-05-25 14:52 ` Rodolfo Giometti
2007-05-25 15:43 ` Wolfgang Denk
2007-05-25 16:02 ` Rodolfo Giometti
2007-05-27 14:58 ` [U-Boot-Users] [PATCH] LOGO: Allow each board to define its own logo Rodolfo Giometti
2007-05-27 20:58 ` Wolfgang Denk
2007-05-28 7:52 ` Rodolfo Giometti [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070528075237.GD20506@gundam.enneenne.com \
--to=giometti@enneenne.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.