[OE-core] Add New recipe in custom layer.

Ross Burton ross.burton at intel.com
Fri Dec 13 12:02:56 UTC 2019


On 13/12/2019 04:59, ghalib exaleap wrote:
> Hi,
> 
>     I Added a New Layer & Recipe in yocto project ( 
> *Openembedded-core* ), to add Layer & recipe i have gone through 
> following step's
> 
> 1. cloned yocto
> 2. source oe-init-build-env
> 3. bitbake-layers add-layer ../meta-<MY-LAYER>
> 4. bitbake core-image-minimal ---->  ( Here Meta layers Build's fine )
> 5. bitbake -c compile <MY-RECIPE>
> 
> In my custom Recipe <MY-RECIPE> added <MY-RECIPE>_0.1.bb <http://0.1.bb> 
> has Written following statements...
> SRC_URI = "file://Makefile \
> file://build_cross_native.sh \
>             file://COPYING \
> 
> do_compile() {
> ${WORKDIR}/build_cross_native.sh
> }
> 
> *Out-put:--*
> * what where i mentioned in SRC_URI it's coping to build a directory of 
> yocto into its recipe folder, and script also running but *it stuck*, i 
> don't know whats worg, Can any you help me to overcome this?
> * I have attached the log of this Recipes Build, if what any 
> clarification please go through that.

Without seeing what build_cross_native.sh does, no we can't help.

There's a log.do_compile in the recipe's work directory under tmp, which 
might shed some light.  It's probably waiting for you to enter something 
and didn't notice that there is no way to get input.

Ross


More information about the Openembedded-core mailing list