
14 Oct
2010
14 Oct
'10
10:34 a.m.
Dear "Eibach, Dirk",
In message 48D3D52125C49B43AE880038E2E5314BB5BDEE@SRV101.gdsys.de you wrote:
Please factor out such common code. Eventually, a single board entry with two configurations is sufficient?
Nice idea. Is there a way to do this with boards.cfg?
Yes. See the proposed changes in the "Makefile-cleanup" branch of the u-boot-testing repo; see for example this version of boards.cfg which passes in boards.cfg all options that used to go through the top level Makefile:
http://git.denx.de/?p=u-boot/u-boot-testing.git;a=blob;f=boards.cfg;h=920725...
For example, see the CATcenter entries in lines 639 ff.
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@denx.de
It is better to marry than to burn.
- Bible ``I Corinthians'' ch. 7, v. 9