AnsweredAssumed Answered

Yocto Layers Clarification Request

Question asked by Andrea Collamati on Apr 15, 2015
Latest reply on May 8, 2015 by Daiane Angolini

Hello,

I have just sync with report the last official yocto fsl bsp release 3.14.28-1.0.0_GA.

 

I would like to understand better the layer mechanism.

If I run the command:

 

bitbake-layers show-layers

 

I get

 

meta              /data2/yocto/fsl-arm-yocto-bsp/sources/poky/meta  5
meta-yocto        /data2/yocto/fsl-arm-yocto-bsp/sources/poky/meta-yocto  5
meta-oe           /data2/yocto/fsl-arm-yocto-bsp/sources/meta-openembedded/meta-oe  6
meta-multimedia   /data2/yocto/fsl-arm-yocto-bsp/sources/meta-openembedded/meta-multimedia  6
meta-fsl-arm      /data2/yocto/fsl-arm-yocto-bsp/sources/meta-fsl-arm  5
meta-fsl-arm-extra/data2/yocto/fsl-arm-yocto-bsp/sources/meta-fsl-arm-extra  4
meta-fsl-demos    /data2/yocto/fsl-arm-yocto-bsp/sources/meta-fsl-demos  4
meta-fsl-arm      /data2/yocto/fsl-arm-yocto-bsp/sources/meta-fsl-bsp-release/imx/meta-fsl-arm  0
meta-fsl-demos    /data2/yocto/fsl-arm-yocto-bsp/sources/meta-fsl-bsp-release/imx/meta-fsl-demos  0
meta-browser      /data2/yocto/fsl-arm-yocto-bsp/sources/meta-browser  7
meta-gnome        /data2/yocto/fsl-arm-yocto-bsp/sources/meta-openembedded/meta-gnome  7
meta-networking   /data2/yocto/fsl-arm-yocto-bsp/sources/meta-openembedded/meta-networking  5
meta-python       /data2/yocto/fsl-arm-yocto-bsp/sources/meta-openembedded/meta-python  7
meta-ruby         /data2/yocto/fsl-arm-yocto-bsp/sources/meta-openembedded/meta-ruby  7
meta-filesystems  /data2/yocto/fsl-arm-yocto-bsp/sources/meta-openembedded/meta-filesystems  6
meta-qt5          /data2/yocto/fsl-arm-yocto-bsp/sources/meta-qt5  7
meta-fsl-qt5      /data2/yocto/fsl-arm-yocto-bsp/sources/meta-fsl-bsp-release/imx/meta-fsl-qt5  0
meta-fsl-bluez    /data2/yocto/fsl-arm-yocto-bsp/sources/meta-fsl-bsp-release/imx/meta-fsl-bluez  8

 

So the same layer meta-fsl-arm is splitted over two directories with different priority.

On the other hand, if we look at


  • sources/meta-fsl-bsp-release/imx/meta-fsl-arm/conf/layer.conf
  • sources/meta-fsl-arm/conf/layer.conf

 

we have


sources/meta-fsl-bsp-release/imx/meta-fsl-arm/conf/layer.conf

BBFILE_COLLECTIONS += "fsl-bsp-release"

BBFILE_PATTERN_fsl-bsp-release := "^${LAYERDIR}"

BBFILE_PRIORITY_fsl-bsp-release = "8"

 

sources/meta-fsl-arm/conf/layer.conf

BBFILE_COLLECTIONS += "fsl-arm"

BBFILE_PATTERN_fsl-arm := "^${LAYERDIR}/"

BBFILE_PRIORITY_fsl-arm = "5"

 

Which one are the correct layer name/priorities?

Thanks in advance.

Outcomes