Patchwork bitbake.conf: Change build output message to list BUILD_SYS, TARGET_SYS and NATIVELSBSTRING

login
register
mail settings
Submitter Richard Purdie
Date Nov. 26, 2012, 2:54 p.m.
Message ID <1353941677.21863.59.camel@ted>
Download mbox | patch
Permalink /patch/39611/
State Accepted
Commit 764cc1eb3043c84121f597d2271108b91052095e
Headers show

Comments

Richard Purdie - Nov. 26, 2012, 2:54 p.m.
The build summary is meant to reflect key configuration variables. Information
about the build system we're running on is important but currently missing
from the information displayed.

Printing TARGET_SYS removes the need to print TARGET_OS and TARGET_ARCH
and we add BUILD_SYS and NATIVELSBSTRING to show information about the
build system.

[YOCTO #3456]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
Darren Hart - Nov. 26, 2012, 6:42 p.m.
On 11/26/2012 06:54 AM, Richard Purdie wrote:
> The build summary is meant to reflect key configuration variables. Information
> about the build system we're running on is important but currently missing
> from the information displayed.
> 
> Printing TARGET_SYS removes the need to print TARGET_OS and TARGET_ARCH
> and we add BUILD_SYS and NATIVELSBSTRING to show information about the
> build system.
> 
> [YOCTO #3456]
> 
> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

Tested-by: Darren Hart <dvhart@linux.intel.com>


Fedora 17 amd64 host:
Build Configuration:
BB_VERSION        = "1.17.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Fedora-17"
TARGET_SYS        = "i586-poky-linux"
MACHINE           = "qemux86"
DISTRO            = "poky"
DISTRO_VERSION    = "1.3+snapshot-20121126"
TUNE_FEATURES     = "m32 i586"
TARGET_FPU        = ""
meta
meta-yocto
meta-yocto-bsp
meta-yocto
meta-yocto-bsp
meta              = "master:7eb5d130ad451c105f4349bd94164cff58e88040"


Looks good to me.

Thanks,

Patch

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 114c5e7..420bdfa 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -631,7 +631,7 @@  export PATCH_GET="0"
 
 # Pre-build configuration output
 BUILDCFG_HEADER = "Build Configuration:"
-BUILDCFG_VARS = "BB_VERSION TARGET_ARCH TARGET_OS MACHINE DISTRO DISTRO_VERSION TUNE_FEATURES TARGET_FPU"
+BUILDCFG_VARS = "BB_VERSION BUILD_SYS NATIVELSBSTRING TARGET_SYS MACHINE DISTRO DISTRO_VERSION TUNE_FEATURES TARGET_FPU"
 BUILDCFG_VARS[type] = "list"
 BUILDCFG_NEEDEDVARS = "TARGET_ARCH TARGET_OS"
 BUILDCFG_NEEDEDVARS[type] = "list"