From 14e22779625de673569c7b950ecc2753fb915b31 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Tue, 27 Apr 2010 06:56:47 +0000 Subject: Since some people disapprove of white space cleanups mixed in regular commits while others dislike them being extra commits, let's clean them up once and for all for the existing code. If it's ugly, let it only be ugly once :-) Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5507 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- util/abuild/abuild | 26 +++++++++++++------------- util/abuild/abuild.1 | 6 +++--- 2 files changed, 16 insertions(+), 16 deletions(-) (limited to 'util/abuild') diff --git a/util/abuild/abuild b/util/abuild/abuild index 22962a8a40..9ba75ca753 100755 --- a/util/abuild/abuild +++ b/util/abuild/abuild @@ -10,7 +10,7 @@ # This file is subject to the terms and conditions of the GNU General # Public License. See the file COPYING in the main directory of this # archive for more details. -# +# #set -x # Turn echo on.... @@ -99,10 +99,10 @@ function xml function xmlfile { - test "$mode" == "xml" && { + test "$mode" == "xml" && { printf '\n' + printf ']]>\n' } >> $XMLFILE } @@ -119,9 +119,9 @@ function mainboards { # make this a function so we can easily select # without breaking readability - + VENDOR=$1 - + ls -1 $ROOT/src/mainboard/$VENDOR | grep -v Kconfig } @@ -143,7 +143,7 @@ function create_config build_dir=$TARGET/${VENDOR}_${MAINBOARD} # get a working payload for the board if we have one. - # the --payload option expects a directory containing + # the --payload option expects a directory containing # a shell script payload.sh # Usage: payload.sh [VENDOR] [DEVICE] # the script returns an absolute path to the payload binary. @@ -253,7 +253,7 @@ function create_buildenv } function compile_target -{ +{ VENDOR=$1 MAINBOARD=$2 @@ -381,17 +381,17 @@ function build_target done fi - + # TBD: look for suitable cross compiler suite # cross-$TARCH-gcc and cross-$TARCH-ld - + # Check result: if [ $found_crosscompiler == "false" ]; then printf "$TARCH: skipped, we're $ARCH\n\n" xml " notbuilt" xml "" xml "" - + return 0 else printf "$TARCH: ok, $ARCH using ${CROSS_COMPILE}gcc\n" @@ -426,14 +426,14 @@ function build_target xml "" return 0 } - + stime=`perl -e 'print time();' 2>/dev/null || date +%s` create_buildenv $VENDOR $MAINBOARD $CONFIG if [ $? -eq 0 -a $configureonly -eq 0 ]; then if [ "$scanbuild" = "true" ]; then rm -rf $TARGET/scan-build-results-tmp fi - compile_target $VENDOR $MAINBOARD && + compile_target $VENDOR $MAINBOARD && xml " ok" || xml "broken" if [ "$scanbuild" = "true" ]; then @@ -541,7 +541,7 @@ function myhelp printf " (defaults to $ROOT)\n\n" } -function myversion +function myversion { cat << EOF diff --git a/util/abuild/abuild.1 b/util/abuild/abuild.1 index 44439e9213..33f30cb2a7 100644 --- a/util/abuild/abuild.1 +++ b/util/abuild/abuild.1 @@ -50,13 +50,13 @@ and will be created in the current directory. .TP .B "\-T, \-\-test" Submit generated image(s) to the automated test system. -The results of the tests will be made available at +The results of the tests will be made available at .B http://qa.coreboot.org/log_manual.php .TP .B "\-c, \-\-cpus [|max]" -Build on +Build on .B numcpus -cpus at the same time, or on all available with +cpus at the same time, or on all available with .B max\fR. .TP .B "\-s, \-\-silent" -- cgit v1.2.3