summaryrefslogtreecommitdiff
path: root/util/abuild
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@openbios.org>2004-11-05 14:06:24 +0000
committerStefan Reinauer <stepan@openbios.org>2004-11-05 14:06:24 +0000
commit2f285ae709988324fee6f919ff7736341745d223 (patch)
treea40561bba6fe1a492a2bb2e7fdc71a8c71ad2d62 /util/abuild
parent173f13b81f5a2fea144092fc5fffc01cc2aa56d8 (diff)
remove nasty workaround, include echo in function again :)
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1760 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/abuild')
-rw-r--r--util/abuild/abuild.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/util/abuild/abuild.sh b/util/abuild/abuild.sh
index 037fa00e1c..516add1f18 100644
--- a/util/abuild/abuild.sh
+++ b/util/abuild/abuild.sh
@@ -257,8 +257,9 @@ function build_target
if [ $? -eq 0 ]; then
compile_target $VENDOR $MAINBOARD
fi
-}
+
echo
+}
function myhelp
{
@@ -310,7 +311,7 @@ fi
eval set "$args"
while true ; do
case "$1" in
- -t|--target) shift; target=$1; shift;;
+ -t|--target) shift; target="$1"; shift;;
-a|--all) shift; buildall=true;;
-b|--broken) shift; buildbroken=true;;
-v|--verbose) shift; verbose=true;;
@@ -328,8 +329,8 @@ debug "LBROOT=$LBROOT"
if [ "$target" != "" ]; then
# build a single board
- VENDOR=`echo $target|tr -d \'|cut -f1 -d/`
- MAINBOARD=`echo $target|tr -d \'|cut -f2 -d/`
+ VENDOR=`echo $target|cut -f1 -d/`
+ MAINBOARD=`echo $target|cut -f2 -d/`
build_target $VENDOR $MAINBOARD
else
# build all boards per default