From: Khem Raj <raj.khem@gmail.com>
To: Elvis Dowson <elvis.dowson@gmail.com>
Cc: Yocto Discussion Mailing List <yocto@yoctoproject.org>
Subject: Re: Error: PATH contains '.' or '', which will break the build, please remove this.
Date: Thu, 21 Jun 2012 21:25:34 -0700 [thread overview]
Message-ID: <4FE3F3BE.902@gmail.com> (raw)
In-Reply-To: <A1C33720-9A94-4B6B-A211-65D25E3B2161@gmail.com>
-----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.dowson@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-----
next prev parent reply other threads:[~2012-06-22 4:25 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-21 15:25 Error: PATH contains '.' or '', which will break the build, please remove this Elvis Dowson
2012-06-21 15:41 ` Mark Hatle
2012-06-21 15:56 ` Jack Mitchell
2012-06-21 16:09 ` Khem Raj
2012-06-22 3:05 ` Elvis Dowson
2012-06-22 4:25 ` Khem Raj [this message]
2012-06-22 4:22 ` Elvis Dowson
-- strict thread matches above, loose matches on Subject: below --
2012-07-18 11:44 Axel Beierlein
2012-07-18 11:55 ` Burton, Ross
2012-07-18 11:58 ` Burton, Ross
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4FE3F3BE.902@gmail.com \
--to=raj.khem@gmail.com \
--cc=elvis.dowson@gmail.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.