Hi,
attached patch adds the compareboard utility, which compares a kbuildall build's variables with those of an abuild build.
The previous version which I used so far only looked for existance of variables (and had a bug for AMD boards, so some of them lack a bunch of crucial values, sorry about that). This version also tells you the values, but converts them from hex to integer first. While this is not very helpful for vendor/device id pairs and addresses, it helps because it eliminates "0xa" vs. "10" issues.
It hooks up to kbuildall, so just running it leads to abuild being called (warning: large set of large trees around), and compares their output. The results are dumped to stdout and stored as kbuildall.results/$boardname.variables.txt
Starting from these diffs, it should be easier to make board configurations in kconfig more correct.
Signed-off-by: Patrick Georgi patrick.georgi@coresystems.de
Patrick