[oe-commits] Chris Larson : bitbake.conf, base.bbclass: Changed build config summary header to be a variable.
git version control
git at git.openembedded.org
Wed Jun 24 18:14:27 UTC 2009
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 151de3a580e0d8a28125b880293f82abf468f2a2
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=151de3a580e0d8a28125b880293f82abf468f2a2
Author: Chris Larson <clarson at mvista.com>
Date: Thu May 14 09:30:35 2009 -0700
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 at mvista.com>
Acked-by: Marcin Juszkiewicz <marcin at juszkiewicz.com.pl>
---
classes/base.bbclass | 2 +-
conf/bitbake.conf | 2 ++
2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/classes/base.bbclass b/classes/base.bbclass
index 116605f..bc50c67 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 4f00be7..8b69564 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"
More information about the Openembedded-commits
mailing list