* [PATCH] bitbake.conf, base.bbclass: Changed build config summary header to be a variable.
@ 2009-06-17 19:16 Chris Larson
2009-06-18 7:58 ` Marcin Juszkiewicz
0 siblings, 1 reply; 2+ messages in thread
From: Chris Larson @ 2009-06-17 19:16 UTC (permalink / raw)
To: openembedded-devel
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>
---
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 e622aee..9687339 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 4cdc56f..2daab00 100644
--- a/conf/bitbake.conf
+++ b/conf/bitbake.conf
@@ -609,6 +609,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"
--
1.6.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] bitbake.conf, base.bbclass: Changed build config summary header to be a variable.
2009-06-17 19:16 [PATCH] bitbake.conf, base.bbclass: Changed build config summary header to be a variable Chris Larson
@ 2009-06-18 7:58 ` Marcin Juszkiewicz
0 siblings, 0 replies; 2+ messages in thread
From: Marcin Juszkiewicz @ 2009-06-18 7:58 UTC (permalink / raw)
To: openembedded-devel
Dnia środa, 17 czerwca 2009 o 21:16:19 Chris Larson napisał(a):
> 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>
Regards,
--
JID: hrw@jabber.org
Website: http://marcin.juszkiewicz.com.pl/
LinkedIn: http://www.linkedin.com/in/marcinjuszkiewicz
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-06-18 8:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-17 19:16 [PATCH] bitbake.conf, base.bbclass: Changed build config summary header to be a variable Chris Larson
2009-06-18 7:58 ` Marcin Juszkiewicz
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.