summaryrefslogtreecommitdiff
path: root/util/abuild/abuild.sh
diff options
context:
space:
mode:
Diffstat (limited to 'util/abuild/abuild.sh')
-rwxr-xr-xutil/abuild/abuild.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/util/abuild/abuild.sh b/util/abuild/abuild.sh
index b489ac3ebd..98845d9844 100755
--- a/util/abuild/abuild.sh
+++ b/util/abuild/abuild.sh
@@ -66,6 +66,9 @@ function create_config
MAINBOARD=$2
TARCH=$( architecture $VENDOR $MAINBOARD )
TARGCONFIG=$LBROOT/targets/$VENDOR/$MAINBOARD/Config-abuild.lb
+
+ mkdir -p $TARGET
+
if [ -f $TARGCONFIG ]; then
cp $TARGCONFIG $TARGET/Config-${VENDOR}_${MAINBOARD}.lb
echo "Used existing test target $TARGCONFIG"
@@ -73,7 +76,6 @@ function create_config
fi
echo -n " Creating config file..."
- mkdir -p $TARGET
( cat << EOF
# This will make a target directory of ./VENDOR_MAINBOARD