[RFC PATCH 2/9] Makefile: export config options for automatic builds
Petr Štetiar
ynezz at true.cz
Wed Mar 18 10:57:49 CET 2020
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 --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
More information about the U-Boot
mailing list