diff mbox series

[RFC,2/9] Makefile: export config options for automatic builds

Message ID 20200318095757.9365-3-ynezz@true.cz
State New
Headers show
Series produce working binaries by default | expand

Commit Message

Petr Štetiar March 18, 2020, 9:57 a.m. UTC
Make config options related to build bots accessible within the scripts.

Signed-off-by: Petr ?tetiar <ynezz at true.cz>
---
 Makefile | 5 +++++
 1 file changed, 5 insertions(+)
diff mbox series

Patch

diff --git a/Makefile b/Makefile
index fa687f13a588..44776b8efcc4 100644
--- a/Makefile
+++ b/Makefile
@@ -426,6 +426,11 @@  KBUILD_AFLAGS	+= $(call cc-option,-fno-PIE)
 UBOOTRELEASE = $(shell cat include/config/uboot.release 2> /dev/null)
 UBOOTVERSION = $(VERSION)$(if $(PATCHLEVEL),.$(PATCHLEVEL)$(if $(SUBLEVEL),.$(SUBLEVEL)))$(EXTRAVERSION)
 
+BUILDBOT = $(CONFIG_BUILDBOT)
+BUILDBOT_BROKEN_BINARIES = $(CONFIG_BUILDBOT_BROKEN_BINARIES)
+
+export BUILDBOT BUILDBOT_BROKEN_BINARIES
+
 export VERSION PATCHLEVEL SUBLEVEL UBOOTRELEASE UBOOTVERSION
 export ARCH CPU BOARD VENDOR SOC CPUDIR BOARDDIR
 export CONFIG_SHELL HOSTCC HOSTCFLAGS HOSTLDFLAGS CROSS_COMPILE AS LD CC