summaryrefslogtreecommitdiff
path: root/util/abuild
diff options
context:
space:
mode:
Diffstat (limited to 'util/abuild')
-rwxr-xr-xutil/abuild/abuild11
1 files changed, 4 insertions, 7 deletions
diff --git a/util/abuild/abuild b/util/abuild/abuild
index 676a44662e..9688c8ce7d 100755
--- a/util/abuild/abuild
+++ b/util/abuild/abuild
@@ -526,16 +526,13 @@ function build_target
build_dir=$TARGET/${BUILD_NAME}
build_config "$MAINBOARD" "$build_dir" "$BUILD_NAME" "$config"
remove_target "$BUILD_NAME"
-
done
- else
- echo "Building board $MAINBOARD (using default config)"
- build_dir=$TARGET/${MAINBOARD}
-
- build_config "$MAINBOARD" "$build_dir" "$MAINBOARD"
- remove_target "$MAINBOARD"
fi
+ echo "Building board $MAINBOARD (using default config)"
+ build_dir=$TARGET/${MAINBOARD}
+ build_config "$MAINBOARD" "$build_dir" "$MAINBOARD"
+ remove_target "$MAINBOARD"
}
function remove_target