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>
This commit is contained in:
parent
0266be0d2b
commit
549a33091a
|
@ -526,16 +526,13 @@ function build_target
|
||||||
build_dir=$TARGET/${BUILD_NAME}
|
build_dir=$TARGET/${BUILD_NAME}
|
||||||
build_config "$MAINBOARD" "$build_dir" "$BUILD_NAME" "$config"
|
build_config "$MAINBOARD" "$build_dir" "$BUILD_NAME" "$config"
|
||||||
remove_target "$BUILD_NAME"
|
remove_target "$BUILD_NAME"
|
||||||
|
|
||||||
done
|
done
|
||||||
else
|
|
||||||
echo "Building board $MAINBOARD (using default config)"
|
|
||||||
build_dir=$TARGET/${MAINBOARD}
|
|
||||||
|
|
||||||
build_config "$MAINBOARD" "$build_dir" "$MAINBOARD"
|
|
||||||
remove_target "$MAINBOARD"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo "Building board $MAINBOARD (using default config)"
|
||||||
|
build_dir=$TARGET/${MAINBOARD}
|
||||||
|
build_config "$MAINBOARD" "$build_dir" "$MAINBOARD"
|
||||||
|
remove_target "$MAINBOARD"
|
||||||
}
|
}
|
||||||
|
|
||||||
function remove_target
|
function remove_target
|
||||||
|
|
Loading…
Reference in New Issue