aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/kernel-yocto.bbclass
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@windriver.com>2012-12-13 15:43:05 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-02-04 13:15:16 +0000
commit9ab80ad88d34622a81670cdc45cc3275fc3ebabe (patch)
tree6d75cde203977179aae13dfd3dc5e6255b964ae1 /meta/classes/kernel-yocto.bbclass
parent9ca697a7f83957205bc418acfd7f45fe4cbddbee (diff)
downloadopenembedded-core-contrib-9ab80ad88d34622a81670cdc45cc3275fc3ebabe.tar.gz
kernel-yocto: make configuration audit details debug only
The details of the kernel configuration audit are typically a debug action, so should be moved to bb.debug(). But in order to maintain visibility of the results, a reference to the log file is provided in the standard message. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/classes/kernel-yocto.bbclass')
-rw-r--r--meta/classes/kernel-yocto.bbclass8
1 files changed, 6 insertions, 2 deletions
diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass
index aaee4419795..b336e43ffef 100644
--- a/meta/classes/kernel-yocto.bbclass
+++ b/meta/classes/kernel-yocto.bbclass
@@ -207,7 +207,7 @@ do_kernel_configme() {
python do_kernel_configcheck() {
import re, string, sys, commands
- bb.plain("NOTE: validating kernel configuration")
+ bb.plain("NOTE: validating kernel config, see log.do_kernel_configcheck for details")
# if KMETA isn't set globally by a recipe using this routine, we need to
# set the default to 'meta'. Otherwise, kconf_check is not passed a valid
@@ -218,7 +218,11 @@ python do_kernel_configcheck() {
cmd = d.expand("cd ${S}; kconf_check -config- %s/meta-series ${S} ${B}" % kmeta)
ret, result = commands.getstatusoutput("%s%s" % (pathprefix, cmd))
- bb.plain( "%s" % result )
+ config_check_visibility = d.getVar( "KCONF_AUDIT_LEVEL", True ) or 1
+ if config_check_visibility == 1:
+ bb.debug( 1, "%s" % result )
+ else:
+ bb.note( "%s" % result )
}
# Ensure that the branches (BSP and meta) are on the locations specified by