[yocto] Running "yocto-bsp create .." in the source directory(poky) brings up an error. "poky directory vs build directory"
Tom Zanussi
tom.zanussi at intel.com
Mon Nov 24 05:48:41 PST 2014
On Mon, 2014-11-24 at 07:07 -0600, Rifenbark, Scott M wrote:
> Hi ,
>
>
>
> Although that sentence could be written differently, it is correct.
> Step six of the example says “By default, the script creates the new
> BSP Layer in the current working directory of the Source Directory,
> which is poky in this case.” The clause at the end of the sentence is
Yes, it's ambiguous as to what 'which is poky' refers to. I think that
just changing it to 'in the current working directory (poky/build in
this case)' is most clear (your revision seems to still have some
ambiguity, I think).
Tom
> tied to the “Source Directory”, which in fact is poky. I will
> re-write that sentence though to remove any chance of confusion. You
> can see the change at
> http://www.yoctoproject.org/docs/1.7/bsp-guide/bsp-guide.html#creating-a-new-bsp-layer-using-the-yocto-bsp-script.
>
>
>
> Thanks,
>
> Scott
>
>
>
> From: yocto-bounces at yoctoproject.org
> [mailto:yocto-bounces at yoctoproject.org] On Behalf Of Biao
> Sent: Sunday, November 23, 2014 8:35 PM
> To: Zanussi, Tom
> Cc: yocto at yoctoproject.org
> Subject: Re: [yocto] Running "yocto-bsp create .." in the source
> directory(poky) brings up an error. "poky directory vs build
> directory"
>
>
>
>
>
> At 2014-11-24 03:23:10, "Tom Zanussi" <tom.zanussi at intel.com> wrote:
> >Hi,
> >
> >On Sun, 2014-11-23 at 22:55 +0800, Biao wrote:
> >> Hi all,
> >> I am doing excises following this section
> >> ----------------------------------------------------------------------
> >> http://www.yoctoproject.org/docs/1.7/bsp-guide/bsp-guide.html#creating-a-new-bsp-layer-using-the-yocto-bsp-script
> >> 1.6.2. Creating a new BSP Layer Using the yocto-bsp Script
> >> ...
> >> $ yocto-bsp create myarm qemu
> >> ....
> >> By default, the script creates the new BSP Layer in the current
> >> working directory of the Source Directory , which is poky in this
> >> case.
> >> ....
> >> ---------------------------------------------------------------------
> >> To my understand, it means after "source oe-init-build-env mybuild", i
> >> should change to the poky directory to run the "yocto-bsp create ..."
> >> command,
> >
> >Yes, the documentation is misleading - yocto-bsp assumes you're in the
> >build directory after you've sourced oe-init-build-env, and not the poky
> >dir.
> >
> >Tom
>
> I see, thanks for you help, Tom.
>
> Jerry
> >
> >> however, i got an error
> >> " Do you need a new machine branch for this BSP (the alternative is to
> >> re-use an existing branch)? [y/n] [default: y]
> >> The BBPATH variable is not set and bitbake did not find a
> >> conf/bblayers.conf file in the expected location.
> >> Maybe you accidentally invoked bitbake from the wrong directory?
> >> Couldn't find BBLAYERS in bitbake -e output, exiting."
> >> It seems it is asking me to run "yocto-bsp create ..." in the build
> >> directory
> >>
> >>
> >> Which one is correct? Do we have a wrong document?
> >>
> >>
> >> Thanks,
> >> Jerry
> >>
> >>
> >
> >
More information about the yocto
mailing list