[yocto] conf/machine/<machine.conf> in my custom layer doesn't get parsed

Anuj Mittal anuj.mittal at intel.com
Mon Jan 15 06:17:43 PST 2018


On 01/15/2018 09:13 PM, Isaac Nickaein wrote:
> Hi Anuj,
> 
> On Mon, Jan 15, 2018 at 4:00 PM, Mittal, Anuj <anuj.mittal at intel.com> wrote:
>> Have you defined BBPATH in your layer.conf correctly?
> 
> 
> I guess so. Here is relevant lines in layer.conf for BBPATH:
> 
> # We have a conf and classes directory, add to BBPATH
> BBPATH .= ":${LAYERDIR}"
> 
> # We have recipes-* directories, add to BBFILES
> BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
>         ${LAYERDIR}/recipes-*/*/*.bbappend \
>         ${LAYERDIR}/*.bb"
> 
> BBFILE_COLLECTIONS += "samim-saba"
> BBFILE_PATTERN_samim-saba = "^${LAYERDIR}/"
> BBFILE_PRIORITY_samim-saba = "99"
> 
> 
> And this is the layout of conf directory of my layer:
> 
> yocto at yocto-server:/opt/yocto/rocko-poky/poky/meta-samim-saba/conf$ find
> .
> ./layer.conf
> ./machine
> ./machine/colibri-imx6.conf

I hope that this machine name, colibri-imx6, isn't being used in some
other included layer as well ...

meta-freescale-3rdparty/conf/machine/colibri-imx6.conf? Can you try
changing the name?

Thanks,
Anuj

> yocto at yocto-server:/opt/yocto/rocko-poky/poky/meta-smim-saba/conf$
> 





More information about the yocto mailing list