summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2020-03-08 18:31:44 +0100
committerPatrick Georgi <pgeorgi@google.com>2020-03-10 13:29:38 +0000
commit549a33091a39de94998caa74f41d372118f5c12b (patch)
tree241c554a44dab6bbe96db6861ec7fdac6a2c433f /util
parent0266be0d2bc8d667a705d2df433a0b6b19f614c5 (diff)
abuild: Always build the default config
Abuild allows us to add config files below `configs/` for each mainboard. So far, these were built instead of the default config. However, that allows to hide errors in the default config. Hence, we should build that too in any case. Change-Id: I94075dbaa6fabeb75bdbc92e56f237df80c15cef Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/39382 Reviewed-by: Patrick Georgi <pgeorgi@google.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'util')
-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