[coreboot-gerrit] New patch to review for coreboot: e13507f abuild: don't track architecture

Patrick Georgi (pgeorgi@google.com) gerrit at coreboot.org
Sat Oct 18 11:33:21 CEST 2014


Patrick Georgi (pgeorgi at google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/7120

-gerrit

commit e13507f8df120d9714ab5b35bf8bd40ef1ec7b2e
Author: Patrick Georgi <patrick at georgi-clan.de>
Date:   Sat Oct 18 11:32:18 2014 +0200

    abuild: don't track architecture
    
    This didn't work for a while, and we don't _really_ need it.
    
    Change-Id: I952243f30e985e7577cd511f40957066db6dd3c5
    Signed-off-by: Patrick Georgi <patrick at georgi-clan.de>
---
 util/abuild/abuild | 12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)

diff --git a/util/abuild/abuild b/util/abuild/abuild
index cbfc9dc..4ddf010 100755
--- a/util/abuild/abuild
+++ b/util/abuild/abuild
@@ -127,15 +127,6 @@ function mainboards
 	ls -1 $ROOT/src/mainboard/$VENDOR/*/Kconfig 2>/dev/null | sed "s:^$ROOT/src/mainboard/$VENDOR/\(.*\)/Kconfig$:\1:"
 }
 
-function architecture
-{
-	VENDOR=$1
-	MAINBOARD=$2
-	ARCH=`cat $ROOT/src/mainboard/$VENDOR/$MAINBOARD/Kconfig | \
-		grep "select ARCH_"|cut -f2- -d_`
-	echo $ARCH | sed s/X86/i386/
-}
-
 function create_config
 {
 	VENDOR=$1
@@ -247,7 +238,7 @@ function compile_target
 
 	etime=`perl -e 'print time();' 2>/dev/null || date +%s`
 	duration=$(( $etime - $stime ))
-	junit " <testcase classname='board' name='$TARCH/$VENDOR/$MAINBOARD' time='$duration' >"
+	junit " <testcase classname='board' name='$VENDOR/$MAINBOARD' time='$duration' >"
 
 	if [ $ret -eq 0 ]; then
 		junit "<system-out>"
@@ -276,7 +267,6 @@ function build_target
 	VENDOR=$1
 	MAINBOARD=$2
 	CONFIG=$3
-	TARCH=$( architecture $VENDOR $MAINBOARD )
 
 	if [ "`cat $TARGET/${VENDOR}_${MAINBOARD}/compile.status 2>/dev/null`" = "ok" -a \
 		"$buildall" = "false" ]; then



More information about the coreboot-gerrit mailing list