Skip to contentSkip to conversation

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

PATCH In review Richard Purdie 2 participants 2 messages Nov 26, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bitbake.conf: Change build output message to list BUILD_SYS, TARGET_SYS and NATIVELSBSTRING

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]

---

meta/conf/bitbake.conf +1 -1
index 114c5e7..420bdfa 100644
@@ -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"
Tested-by on v1 1/1
#1 lore raw
Quoted 11 lines · Richard Purdie

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]

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,

Signature · 3 lines
Darren Hart
Intel Open Source Technology Center
Yocto Project - Technical Lead - Linux Kernel