From patchwork Wed Mar 18 09:57:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Petr_=C5=A0tetiar?= X-Patchwork-Id: 243798 List-Id: U-Boot discussion From: ynezz at true.cz (=?UTF-8?q?Petr=20=C5=A0tetiar?=) Date: Wed, 18 Mar 2020 10:57:48 +0100 Subject: [RFC PATCH 1/9] Kconfig: add config options for automatic builds In-Reply-To: <20200318095757.9365-1-ynezz@true.cz> References: <20200318095757.9365-1-ynezz@true.cz> Message-ID: <20200318095757.9365-2-ynezz@true.cz> 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 4c78028737c3 ("mksunxi_fit_atf.sh: Allow for this to complete when bl31.bin is missing"), where producing unusable binaries is prefered 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 --- Kconfig | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Kconfig b/Kconfig index 66148ce47790..24960cf7abbf 100644 --- a/Kconfig +++ b/Kconfig @@ -20,6 +20,18 @@ config BROKEN This option cannot be enabled. It is used as dependency for broken and incomplete features. +config BUILDBOT + bool "Set build defaults for automatic builds" + help + This option allows setting of usable defaults for automatic builds. + +config BUILDBOT_BROKEN_BINARIES + bool "Allow building of broken binaries" + depends on BUILDBOT + help + Resulting images wont be used for runtime testing, thus completition + of build is preferred. + config DEPRECATED bool help