[U-Boot] [PATCH 1/1] MX5:MX53: support for freescale MX53LOCO board

Wolfgang Denk wd at denx.de
Tue Feb 22 07:53:34 CET 2011


Dear Liu Hui-R64343,

In message <2CF7613B9822A943BEF13EF7ACEC5BD114A316 at 039-SN1MPN1-003.039d.mgd.msft.net> you wrote:
> 
> >As I discovered myself, usage of config.mk is discouraged and it should be
> >removed and it is not accepted anymore for new boards. Instead of that, it is
> >possible to add CONFIG_ options in boards.cfg.
> 
> OK, do you know why config.mk is discouraged?

There are seeral reasons, the most prominent being

1) because it's simply not needed in 95% of all cases

2) because it's bad to distribute vital configuration information into
   several independent files

and

3) because we're preparing the grounds for a Kconfig based setup so we
   want to have all config options controlled by a single mechanism
   (board config file).

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
All easy problems have already been solved.


More information about the U-Boot mailing list