I am working with the Rocko version and my bblayers.conf file also does not support relative paths. I tried to modify the bblayers.conf file using the TEMPLATECONF variable. The TEMPLATECONF variable points to a directory containing bblayers.conf.sample , layer.conf and local.conf.sample . I exported the TEMPLATECONF variable to get the necessary bblayers.conf and local.conf in the assembly directory, but in my bblayers.conf.sample variable was set in a relative way, as shown below:
BBLAYERS ?= " \ ##OEROOT##/meta \ ##OEROOT##/../meta-xilinx \ ##OEROOT##/../meta-xilinx-tools \ ##OEROOT##/../meta-openembedded/meta-oe \ ##OEROOT##/../meta-openembedded/meta-perl \ ##OEROOT##/../meta-openembedded/meta-python \ ##OEROOT##/../meta-openembedded/meta-multimedia \ ##OEROOT##/../meta-openembedded/meta-networking \ ##OEROOT##/../meta-openembedded/meta-filesystems \ ##OEROOT##/../meta-openembedded/meta-webserver"
but this does not seem to work. The OEROOT variable could not set the correct paths. One reason may be that when the oe-init-build-env script ends, it resets the OEROOT variable. Although, if you manually export the OEROOT variable to the value you need, this may help. However, when I changed the OEROOT variable to TOPDIR , it worked like a keychain, as shown below:
BBLAYERS ?= " \ ${TOPDIR}/../meta \ ${TOPDIR}/../meta-poky \ ${TOPDIR}/../meta-skeleton \ ${TOPDIR}/../meta-selftest \ ${TOPDIR}/../meta-yocto-bsp \ ${TOPDIR}/../../meta-xilinx/meta-xilinx-bsp \ ${TOPDIR}/../../meta-xilinx/meta-xilinx-contrib \ ${TOPDIR}/../../meta-xilinx-tools \ ${TOPDIR}/../../meta-openembedded/meta-oe \ ${TOPDIR}/../../meta-openembedded/meta-perl \ ${TOPDIR}/../../meta-openembedded/meta-python \ ${TOPDIR}/../../meta-openembedded/meta-multimedia \ ${TOPDIR}/../../meta-openembedded/meta-networking \ ${TOPDIR}/../../meta-openembedded/meta-filesystems \ ${TOPDIR}/../../meta-openembedded/meta-webserver"
Which probably makes me think that the failure of the OEROOT variable by the oe-root-init-env script caused the problem. Also, if someone finds a better solution, please respond.
source share