Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] conf/layer.conf: Use .= to append to BBPATH and += for BBFILES
@ 2011-05-06  5:00 Khem Raj
  2011-05-09 16:17 ` Saul Wold
  0 siblings, 1 reply; 2+ messages in thread
From: Khem Raj @ 2011-05-06  5:00 UTC (permalink / raw)
  To: OE core

This helps bitbake in organising BBPATH and BBFILES with given
BBFILE_PRIORITY order

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/conf/layer.conf |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/meta/conf/layer.conf b/meta/conf/layer.conf
index 5287417..3f63c7d 100644
--- a/meta/conf/layer.conf
+++ b/meta/conf/layer.conf
@@ -1,9 +1,8 @@
 BBPATH ?= ""
 # We have a conf and classes directory, add to BBPATH
-BBPATH := "${BBPATH}:${LAYERDIR}"
-
+BBPATH .= ":${LAYERDIR}"
 # We have a packages directory, add to BBFILES
-BBFILES := "${BBFILES} ${LAYERDIR}/packages/*/*.bb ${LAYERDIR}/recipes-*/*/*.bb"
+BBFILES += "${LAYERDIR}/packages/*/*.bb ${LAYERDIR}/recipes-*/*/*.bb"
 
 BBFILE_COLLECTIONS += "normal"
 BBFILE_PATTERN_normal := "^${LAYERDIR}/"
-- 
1.7.4.1




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

* Re: [PATCH] conf/layer.conf: Use .= to append to BBPATH and += for BBFILES
  2011-05-06  5:00 [PATCH] conf/layer.conf: Use .= to append to BBPATH and += for BBFILES Khem Raj
@ 2011-05-09 16:17 ` Saul Wold
  0 siblings, 0 replies; 2+ messages in thread
From: Saul Wold @ 2011-05-09 16:17 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On 05/05/2011 10:00 PM, Khem Raj wrote:
> This helps bitbake in organising BBPATH and BBFILES with given
> BBFILE_PRIORITY order
>
> Signed-off-by: Khem Raj<raj.khem@gmail.com>
> ---
>   meta/conf/layer.conf |    5 ++---
>   1 files changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/meta/conf/layer.conf b/meta/conf/layer.conf
> index 5287417..3f63c7d 100644
> --- a/meta/conf/layer.conf
> +++ b/meta/conf/layer.conf
> @@ -1,9 +1,8 @@
>   BBPATH ?= ""
>   # We have a conf and classes directory, add to BBPATH
> -BBPATH := "${BBPATH}:${LAYERDIR}"
> -
> +BBPATH .= ":${LAYERDIR}"
>   # We have a packages directory, add to BBFILES
> -BBFILES := "${BBFILES} ${LAYERDIR}/packages/*/*.bb ${LAYERDIR}/recipes-*/*/*.bb"
> +BBFILES += "${LAYERDIR}/packages/*/*.bb ${LAYERDIR}/recipes-*/*/*.bb"
>
>   BBFILE_COLLECTIONS += "normal"
>   BBFILE_PATTERN_normal := "^${LAYERDIR}/"

Merged into oe-core

Thanks
	Sau!



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

end of thread, other threads:[~2011-05-09 16:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-06  5:00 [PATCH] conf/layer.conf: Use .= to append to BBPATH and += for BBFILES Khem Raj
2011-05-09 16:17 ` Saul Wold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox