-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 6/21/2012 8:05 PM, Elvis Dowson wrote: > Hi Khem, > > On Jun 21, 2012, at 8:09 PM, Khem Raj wrote: > >> On Thu, Jun 21, 2012 at 8:25 AM, Elvis Dowson >> <elvis.dow...@gmail.com> wrote: >>> BBFILES ?= "" BBLAYERS ?= " \ /tool/yocto/poky/meta \ >>> /tool/yocto/poky/meta-yocto \ >>> /tool/yocto/meta-openembedded/meta-oe \ /tool/yocto/meta-xilinx >>> \ " >>> >> what does >> >> bitbake -e <image> | grep -e "^BBPATH=" >> >> show > > It shows the following: > > BBPATH="/tool/yocto/poky/meta-yocto::/tool/yocto/poky/meta:/tool/yocto/meta-openembedded/meta-oe:/tool/yocto/meta-xilinx" > > There is an extra colon : , how can I remove it? >
BBLAYERS above meta appears before meta-yocto but in BBPATH meta-yocto appears before meta. I think meta-yocto/conf/layer.conf has BBPATH := "${LAYERDIR}:${BBPATH}" change it to BBPATH .= ":${LAYERDIR}" and if you want meta-yocto to appear before meta then rearrange BBLAYERS above to BBLAYERS ?= " \ /tool/yocto/poky/meta-yocto \ /tool/yocto/poky/meta \ /tool/yocto/meta-openembedded/meta-oe \ /tool/yocto/meta-xilinx \ " but that may not solve the problem too since now you will get BBPATH=":/tool/yocto/poky/meta-yocto:/tool/yocto/poky/meta:/tool/yocto/meta-openembedded/meta-oe:/tool/yocto/meta-xilinx" and it will whine about : at the beginning since that will present and empty BBPATH when it separates them out for sanity checks. The fix would be to see if you have : at beginning or end of BBPATH (_after_ it has been populated) and strip it out. > Best regards, > > Elvis Dowson > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk/j874ACgkQuwUzVZGdMxSgUQCfTMT+9+YaJK3cUuCGhGjr6V/J 0TwAnR3rjGAwIDs2Fg1zGYiculK4BfkP =EkD0 -----END PGP SIGNATURE----- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto