[U-Boot] [PATCH] integrator: convert to new build system

Wolfgang Denk wd at denx.de
Wed Jul 20 14:16:30 CEST 2011


Dear Linus Walleij,

In message <CACRpkdYR5+bMBpdF0F5NmQZZGnRS3=NUYq1R_FCezoj2Fp2D5w at 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


More information about the U-Boot mailing list