Dear "Eibach, Dirk", In message <48d3d52125c49b43ae880038e2e5314bb5b...@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=920725448b4747d29fac03668d069cef448a945e;hb=Makefile-cleanup 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: w...@denx.de It is better to marry than to burn. - Bible ``I Corinthians'' ch. 7, v. 9 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot