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

Otavio Salvador otavio at ossystems.com.br
Tue Jul 7 05:14:40 PDT 2015


On Tue, Jul 7, 2015 at 8:43 AM, Gary Thomas <gary at mlbassoc.com> wrote:
> 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 \

In this case, .bbfoobar would be processed.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


More information about the meta-freescale mailing list