remove nasty workaround, include echo in function again :)
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1760 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
@@ -257,8 +257,9 @@ function build_target
|
|||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
compile_target $VENDOR $MAINBOARD
|
compile_target $VENDOR $MAINBOARD
|
||||||
fi
|
fi
|
||||||
}
|
|
||||||
echo
|
echo
|
||||||
|
}
|
||||||
|
|
||||||
function myhelp
|
function myhelp
|
||||||
{
|
{
|
||||||
@@ -310,7 +311,7 @@ fi
|
|||||||
eval set "$args"
|
eval set "$args"
|
||||||
while true ; do
|
while true ; do
|
||||||
case "$1" in
|
case "$1" in
|
||||||
-t|--target) shift; target=$1; shift;;
|
-t|--target) shift; target="$1"; shift;;
|
||||||
-a|--all) shift; buildall=true;;
|
-a|--all) shift; buildall=true;;
|
||||||
-b|--broken) shift; buildbroken=true;;
|
-b|--broken) shift; buildbroken=true;;
|
||||||
-v|--verbose) shift; verbose=true;;
|
-v|--verbose) shift; verbose=true;;
|
||||||
@@ -328,8 +329,8 @@ debug "LBROOT=$LBROOT"
|
|||||||
|
|
||||||
if [ "$target" != "" ]; then
|
if [ "$target" != "" ]; then
|
||||||
# build a single board
|
# build a single board
|
||||||
VENDOR=`echo $target|tr -d \'|cut -f1 -d/`
|
VENDOR=`echo $target|cut -f1 -d/`
|
||||||
MAINBOARD=`echo $target|tr -d \'|cut -f2 -d/`
|
MAINBOARD=`echo $target|cut -f2 -d/`
|
||||||
build_target $VENDOR $MAINBOARD
|
build_target $VENDOR $MAINBOARD
|
||||||
else
|
else
|
||||||
# build all boards per default
|
# build all boards per default
|
||||||
|
Reference in New Issue
Block a user