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

ghalib exaleap ghalibkhanexaleap at gmail.com
Fri Dec 13 04:59:10 UTC 2019


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 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.

*console output: *
Loading cache: 100%
|########################################################################################################################################################################|
Time: 0:00:00
Loaded 1298 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION           = "1.44.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "ubuntu-16.04"
TARGET_SYS           = "x86_64-oe-linux"
MACHINE              = "qemux86-64"
DISTRO               = "nodistro"
DISTRO_VERSION       = "nodistro.0"
TUNE_FEATURES        = "m64 core2"
TARGET_FPU           = ""
meta
meta-myclang         = "master:cb5e746a2398d70b14a14ada7cef82bfd5e80d0e"

Initialising tasks: 100%
|###################################################################################################################################################################|
Time: 0:00:00
Sstate summary: Wanted 0 Found 0 Missed 0 Current 53 (0% match, 100%
complete)
NOTE: Executing Tasks
NOTE: Setscene tasks completed
Currently  1 running tasks (429 of 429)  99%
|############################################################################################################################################################
|
0: khanclang-0.1-r0 do_compile - *15h19m31s *(pid 12476)

Thanks in advance
Ghalib khan c.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20191213/38e5f7d0/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: log.do_compile.12476
Type: application/octet-stream
Size: 14598 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20191213/38e5f7d0/attachment-0001.obj>


More information about the Openembedded-core mailing list