fix so it can use a pre-built test config.

git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2094 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Ronald G. Minnich
2005-11-23 15:41:10 +00:00
parent ed1f9a75b3
commit ebc692873d
2 changed files with 38 additions and 0 deletions

View File

@@ -65,6 +65,13 @@ function create_config
VENDOR=$1
MAINBOARD=$2
TARCH=$( architecture $VENDOR $MAINBOARD )
TARGCONFIG=$LBROOT/targets/$VENDOR/$MAINBOARD/Config-abuild.lb
if [ -f $TARGCONFIG ]; then
cp $TARGCONFIG $TARGET/Config-${VENDOR}_${MAINBOARD}.lb
echo "Used existing test target $TARGCONFIG"
return
fi
echo -n " Creating config file..."
mkdir -p $TARGET
( cat << EOF