Dear Linus Walleij, In message <CACRpkdYR5+bMBpdF0F5NmQZZGnRS3=nuyq1r_fcezoj2fp2...@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: w...@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 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot