All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-baryon][PATCH] layer.conf: avoid unnecessary early expansion with :=
@ 2013-03-19  1:13 Christopher Larson
  2013-03-19  9:48 ` Paul Eggleton
  0 siblings, 1 reply; 2+ messages in thread
From: Christopher Larson @ 2013-03-19  1:13 UTC (permalink / raw)
  To: yocto; +Cc: Christopher Larson

From: Christopher Larson <chris_larson@mentor.com>

bitbake handles immediate expansions of LAYERDIR for us automatically.

Signed-off-by: Christopher Larson <chris_larson@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"
 
-- 
1.8.2



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [meta-baryon][PATCH] layer.conf: avoid unnecessary early expansion with :=
  2013-03-19  1:13 [meta-baryon][PATCH] layer.conf: avoid unnecessary early expansion with := Christopher Larson
@ 2013-03-19  9:48 ` Paul Eggleton
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Eggleton @ 2013-03-19  9:48 UTC (permalink / raw)
  To: Christopher Larson, yocto

On Monday 18 March 2013 18:13:45 Christopher Larson wrote:
> From: Christopher Larson <chris_larson@mentor.com>
> 
> bitbake handles immediate expansions of LAYERDIR for us automatically.
> 
> Signed-off-by: Christopher Larson <chris_larson@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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-03-19  9:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-19  1:13 [meta-baryon][PATCH] layer.conf: avoid unnecessary early expansion with := Christopher Larson
2013-03-19  9:48 ` Paul Eggleton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.