[PATCH 1/3] Kconfig: add config options for automatic builds
ynezz at true.cz
Mon Mar 23 15:03:45 CET 2020
Currently its not possible to distinguish between normal builds and
builds performed by the build bots/CI, thus leading to a workarounds
like for example in commit 4c78028737c3 ("mksunxi_fit_atf.sh: Allow for
this to complete when bl31.bin is missing"), where producing unusable
binaries is preferred in favor of a green automatic builds.
So lets try to fix this properly, add BUILDBOT config options which
could be set on the build bots/CI and the codebase can use this new
config option to workaround the issues in more clear manner.
Signed-off-by: Petr Štetiar <ynezz at true.cz>
Kconfig | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/Kconfig b/Kconfig
index 66148ce47790..7799a3b19629 100644
@@ -20,6 +20,18 @@ config BROKEN
This option cannot be enabled. It is used as dependency
for broken and incomplete features.
+ bool "Set build defaults for automatic builds"
+ This option allows setting of usable defaults for automatic builds.
+ bool "Allow building of broken binaries"
+ depends on BUILDBOT
+ Resulting images wont be used for runtime testing, thus completion
+ of build is preferred.
More information about the U-Boot