[meta-freescale] [meta-fsl-arm][PATCH v3 13/13] layer.conf: include layer-specific bb files

Gary Thomas gary at mlbassoc.com
Tue Jul 7 04:43:39 PDT 2015


On 2015-07-07 02:16, b28495 at freescale.com wrote:
> From: Ting Liu <ting.liu at freescale.com>
>
> Previously layer-specific bbappends are applied when that layer
> is included in the configuration.
>
> There is layer-specific bb files too (like asf_git.bb). Apply the
> same rule here.
>
> Signed-off-by: Ting Liu <ting.liu at freescale.com>
> ---
>   conf/layer.conf | 3 +++
>   1 file changed, 3 insertions(+)
>
> diff --git a/conf/layer.conf b/conf/layer.conf
> index e260e62..81d29f5 100644
> --- a/conf/layer.conf
> +++ b/conf/layer.conf
> @@ -21,3 +21,6 @@ ${FSL_MIRROR}	http://download.ossystems.com.br/bsp/freescale/source/ \n \
>   # layer is included in our configuration
>   BBFILES += "${@' '.join('${LAYERDIR}/%s/recipes*/*/*.bbappend' % layer \
>                  for layer in BBFILE_COLLECTIONS.split())}"
> +# Add layer-specific bb files too
> +BBFILES += "${@' '.join('${LAYERDIR}/%s/recipes*/*/*.bb' % layer \
> +               for layer in BBFILE_COLLECTIONS.split())}"
>

Why not just use a single pattern for this?  e.g.
   BBFILES += "${@' '.join('${LAYERDIR}/%s/recipes*/*/*.bb*' % layer \

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


More information about the meta-freescale mailing list