summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorRonald G. Minnich <rminnich@gmail.com>2005-11-23 15:41:10 +0000
committerRonald G. Minnich <rminnich@gmail.com>2005-11-23 15:41:10 +0000
commitebc692873dd38e397b256e935269232789770416 (patch)
tree1cbc902ab0050092140db1d1fdd1ac4ecfc08b20 /util
parented1f9a75b30c0080dc057240b5bac726a274a062 (diff)
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
Diffstat (limited to 'util')
-rwxr-xr-xutil/abuild/abuild.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/util/abuild/abuild.sh b/util/abuild/abuild.sh
index 48f11c71a9..b489ac3ebd 100755
--- a/util/abuild/abuild.sh
+++ b/util/abuild/abuild.sh
@@ -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