
Dear Linus Walleij,
In message CACRpkdYR5+bMBpdF0F5NmQZZGnRS3=NUYq1R_FCezoj2Fp2D5w@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