Running "yocto-bsp create .." in the source directory(poky) brings up an error. "poky directory vs build directory"
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, 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
Hi,
Quoted 6 lines · Biao
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
...
Quoted 10 lines
$ 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
Quoted 18 lines
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 aconf/bblayers.conffile 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 directoryWhich one is correct? Do we have a wrong document?
Thanks,
Jerry
Quoted 20 lines · Tom Zanussi
Hi,
Quoted 6 lines · Biao
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
...Quoted 10 lines
$ 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,
Quoted 6 lines
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
Quoted 21 lines
Quoted 19 lines
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 aconf/bblayers.conffile 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 directoryWhich one is correct? Do we have a wrong document?
Thanks,
Jerry
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 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: [email protected] [mailto:[email protected]] On Behalf Of Biao
Sent: Sunday, November 23, 2014 8:35 PM
To: Zanussi, Tom
Cc: [email protected]
Subject: Re: [yocto] Running "yocto-bsp create .." in the source directory(poky) brings up an error. "poky directory vs build directory"
Quoted 42 lines · At 2014-11-24 03:23:10, "Tom Zanussi" <[email protected]<mailto:tom.zanussi…
Hi,
Quoted 24 lines · Biao
Hi all,
I am doing excises following this section
----------------------------------------------------------------------
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.
....
Quoted 7 lines
---------------------------------------------------------------------
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
Quoted 7 lines
build directory after you've sourced oe-init-build-env, and not the poky
dir.
Tom
I see, thanks for you help, Tom.
Jerry
Quoted 41 lines
Quoted 37 lines
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.conffile 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
Quoted 8 lines · Scott M
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
Quoted 77 lines
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: [email protected] [mailto:[email protected]] On Behalf Of Biao
Sent: Sunday, November 23, 2014 8:35 PM
To: Zanussi, Tom
Cc: [email protected]
Subject: Re: [yocto] Running "yocto-bsp create .." in the source directory(poky) brings up an error. "poky directory vs build directory"Quoted 20 lines · Tom Zanussi
Hi,
Quoted 6 lines · Biao
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
...Quoted 10 lines
$ 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,Quoted 5 lines
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
Quoted 21 lines
Quoted 19 lines
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 aconf/bblayers.conffile 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 directoryWhich one is correct? Do we have a wrong document?
Thanks,
Jerry