All of lore.kernel.org
 help / color / mirror / Atom feed
From: Reinhard Meyer <u-boot@emk-elektronik.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] RFQ: Makefile cleanup
Date: Thu, 07 Oct 2010 02:46:26 +0200	[thread overview]
Message-ID: <4CAD1862.5020006@emk-elektronik.de> (raw)
In-Reply-To: <AANLkTin-b-yyRaWhUBYLosoDO7RvuK7Hs=FttRBYxoxk@mail.gmail.com>

Dear Graeme Russ,
> P.S. Here's a thought I ended up discarding:
> Each board could have a main config with all the common configuration
> values and a number of secondary includes (which include the primary) for
> each specific configuration. The entry in boards.cfg would select a
> specific config_xxx.h file
>
> eg
>
> boards.cfg:
> TQM8260     powerpc  mpc8260  tqm8260  tqc  -
> TQM8260_AB  powerpc  mpc8260  tqm8260  tqc  -
>
> /include/configs/TQM8260_AB.h:
>
> #include "configs/TQM8260.h"
>
> #define MPC8260
> #define 200MHz
> #define L2_CACHE
> #define BUSMODE_60x

That would make more sense to me. But it would even more crowd the include/configs
directory. A while ago I had proposed to change over to:
include/configs/<vendor>/<board>.h but that was rejected.

[Observation:]
But if we really head for linux style *config we would need a
<board>_defconfig individually for each variant...
But I don't think we are there anytime soon.
Many configs contain conditionals and *config does not handle
long (multiline) strings nicely...

Best Regards,
Reinhard

  reply	other threads:[~2010-10-07  0:46 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-06 19:54 [U-Boot] RFQ: Makefile cleanup Wolfgang Denk
2010-10-06 20:16 ` Albert ARIBAUD
2010-10-06 20:32   ` Wolfgang Denk
2010-10-06 20:42   ` Scott Wood
2010-10-06 21:19     ` Wolfgang Denk
2010-10-10 15:14     ` Wolfgang Denk
2010-10-10 15:46       ` Wolfgang Denk
2010-10-10 18:24         ` Mike Frysinger
2010-10-10 19:10           ` Wolfgang Denk
2010-10-10 19:57             ` Mike Frysinger
2010-10-10 21:04               ` Wolfgang Denk
2010-10-06 21:21   ` Graeme Russ
2010-10-07  0:46     ` Reinhard Meyer [this message]
2010-10-07  5:11       ` Rogan Dawes
2010-10-07  5:22         ` Wolfgang Denk
2010-10-07  6:27           ` Rogan Dawes
2010-10-07  5:19     ` Wolfgang Denk

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=4CAD1862.5020006@emk-elektronik.de \
    --to=u-boot@emk-elektronik.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 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.