Am Sonntag, den 29.09.2013, 17:30 -0400 schrieb ron minnich:
it's never easy to come up with rules that work for all occasions. Usually, one should start with a clean Kconfig, devicetree.cb, Makefile, and maybe a mainboard.c. The danger in copying all the files without change is that one ends up with a bunch of devices in the new board that are not really supported (this has happened for many boards over the years).
So the cleanest is to start with a totally minimal setup, and add as needed.
Sure, but in this case the boards were copied and my question is, how these can be reviewed easily. Reducing 4500 line differences to less than 1000 would certainly help.
if they are truly identical, and all the code involved is identical, and you're sure they will stay that way, you can always reference ../otherboard/file.c in the Makefile ...