[yocto] [meta-baryon][PATCH] layer.conf: avoid unnecessary early expansion with :=

Paul Eggleton paul.eggleton at linux.intel.com
Tue Mar 19 02:48:38 PDT 2013


On Monday 18 March 2013 18:13:45 Christopher Larson wrote:
> From: Christopher Larson <chris_larson at mentor.com>
> 
> bitbake handles immediate expansions of LAYERDIR for us automatically.
> 
> Signed-off-by: Christopher Larson <chris_larson at mentor.com>
> ---
>  conf/layer.conf | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/conf/layer.conf b/conf/layer.conf
> index 0d33e3b..5515047 100644
> --- a/conf/layer.conf
> +++ b/conf/layer.conf
> @@ -2,12 +2,12 @@
>  # Copyright 2011 Intel Corporation
> 
>  # We have a conf directory, prepend to BBPATH to prefer our versions
> -BBPATH := "${LAYERDIR}:${BBPATH}"
> +BBPATH =. "${LAYERDIR}:"
> 
>  # We have recipes-* directories, add to BBFILES
> -BBFILES := "${BBFILES} ${LAYERDIR}/recipes-*/*/*.bb
> ${LAYERDIR}/recipes-*/*/*.bbappend" +BBFILES +=
> "${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend"
> 
>  BBFILE_COLLECTIONS += "meta-baryon"
> -BBFILE_PATTERN_meta-baryon := "^${LAYERDIR}/"
> +BBFILE_PATTERN_meta-baryon = "^${LAYERDIR}/"
>  BBFILE_PRIORITY_meta-baryon = "7"

Merged this and the denzil/danny versions, thanks.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the yocto mailing list