[OE-core] [PATCH 1/2] build summary: add gcc version being used.

akuster808 akuster808 at gmail.com
Wed Jul 20 14:41:36 UTC 2016


I noticed this patch was being carried in mut builds and no is missing.

does that mean this is rejected?

- armin


On 06/22/2016 08:29 AM, Armin Kuster wrote:
> From: Armin Kuster <akuster at mvista.com>
> 
> Signed-off-by: Armin Kuster <akuster at mvista.com>
> ---
>  meta/classes/base.bbclass | 2 ++
>  meta/conf/bitbake.conf    | 2 +-
>  2 files changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
> index 5d8e8d6..b90e9ce 100644
> --- a/meta/classes/base.bbclass
> +++ b/meta/classes/base.bbclass
> @@ -195,6 +195,8 @@ def buildcfg_vars(d):
>          if value is not None:
>              yield '%-17s = "%s"' % (var, value)
>  
> +    yield '%-17s = "%s"' % ("GCC_VERSION", d.getVar("GCCVERSION", True).strip('%'))
> +
>  def buildcfg_neededvars(d):
>      needed_vars = oe.data.typed_value("BUILDCFG_NEEDEDVARS", d)
>      pesteruser = []
> diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
> index 942b8b1..7132922 100644
> --- a/meta/conf/bitbake.conf
> +++ b/meta/conf/bitbake.conf
> @@ -650,7 +650,7 @@ PREFERRED_PROVIDER_virtual/fakeroot-native ?= "pseudo-native"
>  
>  # Pre-build configuration output
>  BUILDCFG_HEADER = "Build Configuration:"
> -BUILDCFG_VARS = "BB_VERSION BUILD_SYS NATIVELSBSTRING TARGET_SYS 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 GCC_VERSION"
>  BUILDCFG_VARS[type] = "list"
>  BUILDCFG_NEEDEDVARS = "TARGET_ARCH TARGET_OS"
>  BUILDCFG_NEEDEDVARS[type] = "list"
> 



More information about the Openembedded-core mailing list