public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] integrator: convert to new build system
Date: Wed, 20 Jul 2011 14:16:30 +0200	[thread overview]
Message-ID: <20110720121630.C32D31579DF2@gemini.denx.de> (raw)
In-Reply-To: <CACRpkdYR5+bMBpdF0F5NmQZZGnRS3=NUYq1R_FCezoj2Fp2D5w@mail.gmail.com>

Dear Linus Walleij,

In message <CACRpkdYR5+bMBpdF0F5NmQZZGnRS3=NUYq1R_FCezoj2Fp2D5w@mail.gmail.com> you wrote:
>
> > Would it not make
> > sense to omit these file alltogether then, and let the entries in
> > boards.cfg point to the generic files integratorap.h resp.
> > integratorcp.h instead?
> 
> This row in the global Makefile is the reason:
> 
> sinclude $(obj).boards.depend
> $(obj).boards.depend:   boards.cfg
>         awk '(NF && $$1 !~ /^#/) { print $$1 ": " $$1 "_config;
> $$(MAKE)" }' $< > $@
> 
> It requires one *_config per board variant.

Right.  But it does NOT require that each board has it's own file in
include/configs/<name>.h

> Any hints?

Well, for example, the following different boards and board
configurations all shar the same board config file
(include/configs/TQM823L.h) : TQM823L, TQM823L_LCD, TTTech and wtk

The same should be done for the integrator boards, too.

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
As in certain cults it is possible to kill a process if you know  its
true name.                      -- Ken Thompson and Dennis M. Ritchie

  reply	other threads:[~2011-07-20 12:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-19 14:49 [U-Boot] [PATCH] integrator: convert to new build system Linus Walleij
2011-07-19 20:04 ` Wolfgang Denk
2011-07-20  7:56   ` Linus Walleij
2011-07-20 12:16     ` Wolfgang Denk [this message]
2011-07-21  7:53       ` Linus Walleij

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=20110720121630.C32D31579DF2@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