From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/1] Adding Configuration option for TQM5200S Board on Goetting
Date: Sun, 09 Aug 2009 22:44:57 +0200 [thread overview]
Message-ID: <20090809204457.395F5833DBD2@gemini.denx.de> (raw)
In-Reply-To: <m2iqhaed2s.fsf@ohwell.denx.de>
Dear Detlev Zundel,
In message <m2iqhaed2s.fsf@ohwell.denx.de> you wrote:
>
> >> @@ -808,6 +809,12 @@ TQM5200_STK100_config: unconfig
> >> @[ -z "$(findstring HIGHBOOT,$@)" ] || \
> >> { echo "TEXT_BASE = 0xFFF00000" >$(obj)board/tqm5200/config.tmp ; \
> >> }
> >> + @[ -z "$(findstring HG43630,$@)" ] || \
> >> + { echo "#define CONFIG_HG43630" >>$(obj)include/config.h ; \
> >> + echo "#define CONFIG_TQM5200S" >>$(obj)include/config.h ; \
> >> + echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
> >> + $(XECHO) "... TQM5200S on Goetting HG43630 Board" ; \
> >> + }
> >> @$(MKCONFIG) -n $@ -a TQM5200 ppc mpc5xxx tqm5200 tqc
> >
> > Please don't add board specific configuration to the top level
> > Makefile; do thi sin your board config file instead.
>
> Can you explain what you want to see here? The board is based on a
> tqm5200 module, so he actually does not want to copy his own config
> file. Personally I think this solution to be ok, can you explain what
> you don't like about it?
Board specific configurations (liek #defining CONFIG_TQM5200S and
CONFIG_TQM5200_B when CONFIG_HG43630 is set) should not be done in the
Makefile, but in the board config file instead.
Actually I want to get rid of most of such longish scripting in the
Makefile, and I started rejecting all patches that add such stuff.
An example how to solve this can be found here:
http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/65499
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
If all the Chinese simultaneously jumped into the Pacific off a 10
foot platform erected 10 feet off their coast, it would cause a tidal
wave that would destroy everything in this country west of Nebraska.
prev parent reply other threads:[~2009-08-09 20:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-24 21:44 [U-Boot] [PATCH 1/1] Adding Configuration option for TQM5200S Board on Goetting Axel Beierlein
2009-07-26 22:02 ` Wolfgang Denk
2009-07-30 9:26 ` Detlev Zundel
2009-08-09 20:44 ` Wolfgang Denk [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=20090809204457.395F5833DBD2@gemini.denx.de \
--to=wd@denx.de \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox