All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jerry Van Baren <gerald.vanbaren@smiths-aerospace.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Some questions about what is	plannedtoimproveU-Boot configuration...
Date: Tue, 19 Jun 2007 08:31:49 -0400	[thread overview]
Message-ID: <4677CCB5.5050204@smiths-aerospace.com> (raw)
In-Reply-To: <20070618230628.D603C353B71@atlas.denx.de>

Wolfgang Denk wrote:
> In message <f5723h$lmm$1@sea.gmane.org> you wrote:
>> Did you have anything in mind for Makefile trickery? The best example I 
>> could find is TEXT_BASE, and that fits well as a kbuild configuration 
>> parameter.
> 
> Many  boards  pass  additional  configuration  information  from  the
> Makefile  - see for example the MPC8360EMDS* or the TQM8260_* boards.
> Less obvious but even more tricky is what the ARM  Integrator  boards
> do by running the board/integrator*/split_by_variant.sh scripts.
> 
> Best regards,
> 
> Wolfgang Denk

My 0.01 euro (lousy exchange rate)...

Doing the config in the makefile via differently named targets is Really 
Tricky[tm] in that it works quite well but makes me feel icky when I 
think about it.  Parsing the target and echoing config parameters into a 
config.mk config file via the rule is not a good way to do config IMHO.

I don't know what is done in the ARM area, but the 8xx, 82xx, and 83xx 
boards that use this method could just as well use a kconfig style 
configuration system.  All they are doing is selecting boot high/low, 
memory configurations, processor speeds, board flavors, LCD support, 
etc.  All those sound _exactly_ like kconfig stuff to me.

Downsides?  How do you do the equivalent of "MAKEALL"?  We will need a 
default config file for each target that is currently supported and 
modify MAKEALL to do (the equivalent of)
   make mrproper && make defconfig && make
for each class of targets that MAKEALL currently supports.

Best regards,
gvb

  reply	other threads:[~2007-06-19 12:31 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-14  9:37 [U-Boot-Users] Some questions about what is planned to improve U-Boot configuration Carsten Schlote
2007-06-14 12:24 ` [U-Boot-Users] Some questions about what is planned to improveU-Boot configuration Joey Oravec
2007-06-18 10:42   ` [U-Boot-Users] Some questions about what is planned toimproveU-Boot configuration Carsten Schlote
2007-06-18 20:35     ` Wolfgang Denk
2007-06-18 22:48       ` [U-Boot-Users] Some questions about what is plannedtoimproveU-Boot configuration Joey Oravec
2007-06-18 23:06         ` Wolfgang Denk
2007-06-19 12:31           ` Jerry Van Baren [this message]
2007-06-19 22:58             ` Wolfgang Denk
2007-06-19 16:37       ` [U-Boot-Users] Some questions about what is planned toimproveU-Boot configuration Carsten Schlote
2007-06-19 23:07         ` Wolfgang Denk
2007-06-20 14:54           ` Carsten Schlote
2007-06-20 22:34             ` Wolfgang Denk
2007-06-20 15:47 ` [U-Boot-Users] Some questions about what is planned to improve U-Boot configuration Grant Likely
2007-06-20 16:06   ` Carsten Schlote
2007-06-20 21:05   ` [U-Boot-Users] Some questions about what is planned to improveU-Boot configuration Ulf Samuelsson
2007-06-20 21:31     ` Stefan Roese

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=4677CCB5.5050204@smiths-aerospace.com \
    --to=gerald.vanbaren@smiths-aerospace.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.