summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Larson <clarson@mvista.com>2009-05-14 09:30:35 -0700
committerChris Larson <clarson@mvista.com>2009-06-24 11:13:50 -0700
commit151de3a580e0d8a28125b880293f82abf468f2a2 (patch)
tree010e1f1d4a1f7aadb4ff4ab920a7cb3894224bf7
parent614b2f8ee4e1fe6022679ea7448151fd05afade2 (diff)
bitbake.conf, base.bbclass: Changed build config summary header to be a variable.
Default in bitbake.conf for BUILDCFG_HEADER is "Build Configuration". This lets distributions make their builds ever so slightly prettier :) Signed-off-by: Chris Larson <clarson@mvista.com> Acked-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
-rw-r--r--classes/base.bbclass2
-rw-r--r--conf/bitbake.conf2
2 files changed, 3 insertions, 1 deletions
diff --git a/classes/base.bbclass b/classes/base.bbclass
index 116605fff8..bc50c67d4b 100644
--- a/classes/base.bbclass
+++ b/classes/base.bbclass
@@ -923,7 +923,7 @@ python base_eventhandler() {
bb.data.setVar( 'BB_VERSION', bb.__version__, e.data )
statusvars = bb.data.getVar("BUILDCFG_VARS", e.data, 1).split()
statuslines = ["%-17s = \"%s\"" % (i, bb.data.getVar(i, e.data, 1) or '') for i in statusvars]
- statusmsg = "\nOE Build Configuration:\n%s\n" % '\n'.join(statuslines)
+ statusmsg = "\n%s\n%s\n" % (bb.data.getVar("BUILDCFG_HEADER", e.data, 1), "\n".join(statuslines))
print statusmsg
needed_vars = bb.data.getVar("BUILDCFG_NEEDEDVARS", e.data, 1).split()
diff --git a/conf/bitbake.conf b/conf/bitbake.conf
index 4f00be73e6..8b6956453b 100644
--- a/conf/bitbake.conf
+++ b/conf/bitbake.conf
@@ -608,6 +608,8 @@ AUTO_LIBNAME_PKGS = "${PACKAGES}"
ENTERPRISE_DISTRO ?= "0"
# Pre-build configuration output
+
+BUILDCFG_HEADER = "Build Configuration:"
BUILDCFG_VARS ?= "BB_VERSION METADATA_BRANCH METADATA_REVISION TARGET_ARCH TARGET_OS MACHINE DISTRO DISTRO_VERSION"
BUILDCFG_VARS_append_arm = " TARGET_FPU"
BUILDCFG_VARS_append_armeb = " TARGET_FPU"