Hi, Wolfgang, 2011/2/22 Wolfgang Denk <w...@denx.de>: > Dear Liu Hui-R64343, > > In message > <2cf7613b9822a943bef13ef7acec5bd114a...@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).
OK, get it. Thanks for the detailed information. > > 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: w...@denx.de > All easy problems have already been solved. > _______________________________________________ > U-Boot mailing list > U-Boot@lists.denx.de > http://lists.denx.de/mailman/listinfo/u-boot > _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot