With the following layers defined in bblayers.conf: BBPATH = "${TOPDIR}" BBFILES ?= "" BBLAYERS ?= " \ ${TOPDIR}/../poky/meta \ ${TOPDIR}/../poky/meta-poky \ ${TOPDIR}/../poky/meta-yocto-bsp \ ${TOPDIR}/../meta-openembedded/meta-oe \ ${TOPDIR}/../openembedded-core/meta \ " Executing "bitbake-layers show-layers" reports /poky/meta twice: NOTE: Starting bitbake server... layer path priority ========================================================================== meta ../build/../poky/meta 5 meta-poky ../build/../poky/meta-poky 5 meta-yocto-bsp ../build/../poky/meta-yocto-bsp 5 meta-oe ../build/../meta-openembedded/meta-oe 6 meta ../build/../poky/meta 5 Then if ${TOPDIR}/../openembedded-core/meta is placed before ${TOPDIR}/../poky/meta, i.e.: ${TOPDIR}/../openembedded-core/meta \ ${TOPDIR}/../poky/meta \ ${TOPDIR}/../poky/meta-poky \ ${TOPDIR}/../poky/meta-yocto-bsp \ openembedded-core/meta is displayed twice with poky/meta got missing: layer path priority ========================================================================== meta ../build/../openembedded-core/meta 5 meta ../build/../openembedded-core/meta 5 meta-poky ../build/../poky/meta-poky 5 meta-yocto-bsp ../build/../poky/meta-yocto-bsp 5 meta-oe ../build/../meta-openembedded/meta-oe 6
We should give a fatal error if two layers are being defined with the same namespace as that is not intended to work.
I've sent the patch for review: http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=rbt/bbfile&id=070002fb5989fd3c629d06ce77d9b33d11982a18
Merged into master: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=5fa3b5b15229babc9f96606c79436ab83651bf83