Thanks for your response Alex. I gone with all these steps but not helpful. Here I am sharing my recipe and bb-example.bb and do_install log. bb-example.bb: LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" PR = "r0" inherit module SRC_URI = "file://bb-example.tar.bz2/" S = "${WORKDIR}/bb-example" inherit autotools pkgconfig do_compile() { make } do_install() { install -d ${D}${bindir} / install -m 0755 bb-example ${D}${bindir} } FILES_${PN} += " ${libdir}/bb-example/*.so" do_install log: NOTE: Executing RunQueue Tasks + cd /home/user1/poky/build/tmp/work/baytrail32-poky-linux/bb-example/1.0-r0/bb-example + do_install + install -d /home/user1/poky/build/tmp/work/baytrail32-poky-linux/bb-example/1.0-r0/image/usr/bin + install -m 0755 bb-example /home/user1/poky/build/tmp/work/baytrail32-poky-linux/bb-example/1.0-r0/image/usr/bin/ install: cannot stat `bb-example': No such file or directory + bb_exit_handler + ret=1 + echo WARNING: exit code 1 from a shell command. WARNING: exit code 1 from a shell command. + exit 1 Recipe: cd /home/user1/poky/meta/recipes-sato/bb-App/bb-example/bb-example.tar.bz2 cd /home/user1/poky/meta/recipes-sato/bb-App/bb-example.bb tar -xvf bb-example.tar.bz2 /gdbus, /Release, Makefile, bb-example.c bb-example.h cd /Release, /gdbus, makefile, objects.mk, sources.mk, subdir.mk After do_compile and make /home/user1/poky/build/tmp/work/baytrail32-poky-linux/bb-example/1.0-r1/............./image ./license-destdir ./bb-example.........all depended folders. Inside ./bb-example all my binaries are executing but not loading to ./image/tree.. Hope now it is very clear understanding to my problem. Regards Meena From: Alex J Lennon [ajlen...@dynamicdevices.co.uk] Sent: Thursday, May 08, 2014 3:52 PM To: Meenakumari Shedole Cc: yocto@yoctoproject.org Subject: Re: [yocto] Third Party Components Integration in Yocto Hi Meena,
On 08/05/2014 11:05, Meenakumari Shedole wrote:
OK so that's helpful. I have had similar problems myself with files that don't get installed and thus aren't packaged. In my experience it is usually to do with the path to the source file one is trying to install. i.e. So for some reason the bb-example file isn't where it should be to be copied across to the target folder in the image tree. Where does bb-example come from? Can you share the whole recipe? Can you see it where you think it should be in the devshell folder or the folder above? If you included bb-example as a file:// entry added to SRC_URI then it will be copied across to the working directory ${WORKDIR} You might want to try something like install -m 0755 ${WORKDIR}/bb-example ${D}${bindir} Alternatively if bb-example is output from a build process then it will be in the source directory ${S} In which case try install -m 0755 ${S}/bb-example ${D}${bindir} Hope this helps! Alex
|
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto