summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xutil/compareboard/compareboard13
-rwxr-xr-xutil/kbuildall/kbuildall2
2 files changed, 12 insertions, 3 deletions
diff --git a/util/compareboard/compareboard b/util/compareboard/compareboard
index 09cd32987d..17295675d2 100755
--- a/util/compareboard/compareboard
+++ b/util/compareboard/compareboard
@@ -16,7 +16,7 @@ done
BOARDPATH=`echo $1 | sed s,/,_,g`
-A=`mktemp`
+A=`mktemp tmp.XXXXXXXXXX`
rm -rf $A
mkdir -p $A
@@ -92,6 +92,15 @@ sed \
normalize $A/old.filtered > $A/old.normalized
normalize $A/new.filtered > $A/new.normalized
-diff -u $A/old.normalized $A/new.normalized |grep ^[+-][^+-]|sed -e "s,^+,p ," -e "s,^-,m ," |sort -k2,2 -k1,1 |sed -e "s,^p ,+," -e "s,^m ,-,"
+diff -u $A/old.normalized $A/new.normalized | \
+ grep ^[+-][^+-] | \
+ sed -e "s,^+,p ," -e "s,^-,m ," | \
+ sort -k2,2 -k1,1 | \
+ sed -e "s,^p ,+," -e "s,^m ,-," | \
+ while read line; do
+ key=`echo $line|cut -f1 -d\=`
+ value=`echo $line|cut -f2 -d\= | tr -d \\;`
+ printf "%s = 0x%x\n" "$key" $value
+ done
rm -rf $A
diff --git a/util/kbuildall/kbuildall b/util/kbuildall/kbuildall
index 3f2d7b4b0b..3d16950866 100755
--- a/util/kbuildall/kbuildall
+++ b/util/kbuildall/kbuildall
@@ -61,7 +61,7 @@ for dir in $ALLTARGETS; do
result=`$MAKE > $TARGETDIR/$name.buildcoreboot.log 2>&1 && echo ok || echo fail`
echo "$result."
if [ "$result" = "ok" ]; then
- util/abuild/abuild -t $dir
+ util/abuild/abuild -C -t $dir
sh util/compareboard/compareboard $dir | tee $TARGETDIR/$name.variables.txt
fi
echo "$dir $result" >> $TARGETDIR/_overview.txt