[yocto] Adding prebuilt binaries to /usr/bin on rootfs
Satya Swaroop Damarla
swaroop.damarla at gmail.com
Wed Apr 17 08:00:11 PDT 2013
Hi Guys,
I have few prebuilt binaries and I want to add them to the rootfs at the
build itself. So, I created a recipe... but I get an error .. Can you
please tell me what the error could be?
DESCRIPTION = "Skidata Tools"
LICENSE = "CLOSED"
SRC_URI = "file:///home/damarla/yocto/skidata-tools.zip"
SRCREV ?= "${AUTOREV}"
SRC_URI[md5sum] = "fda9d9034bfb64deab57513472279a81"
SRC_URI[sha256sum] =
"8c917892677c44784a99b29c4302cfec257cd422ccc06c3d90432c4a74960af8"
do_install () {
install -d ${D}/usr/bin
pwd
install -m 0755
/home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/cortexa9-vfp-vfpv3d16-poky-linux-gnueabi/skidata-tools/1.0-r0/skidata-tools/TCPDownload
${D}/usr/bin/
install -m 0755
/home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/cortexa9-vfp-vfpv3d16-poky-linux-gnueabi/skidata-tools/1.0-r0/skidata-tools/USBDownload
${D}/usr/bin/USBDownload
install -m 0755
/home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/cortexa9-vfp-vfpv3d16-poky-linux-gnueabi/skidata-tools/1.0-r0/skidata-tools/devsrv
${D}/usr/bin/devsrv
install -m 0755
/home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/cortexa9-vfp-vfpv3d16-poky-linux-gnueabi/skidata-tools/1.0-r0/skidata-tools/i2c-test
${D}/usr/bin/i2c-test
install -m 0755
/home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/cortexa9-vfp-vfpv3d16-poky-linux-gnueabi/skidata-tools/1.0-r0/skidata-tools/sdusb-cmd
${D}/usr/bin/sdusb-cmd
install -m 0755
/home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/cortexa9-vfp-vfpv3d16-poky-linux-gnueabi/skidata-tools/1.0-r0/skidata-tools/setty
${D}/usr/bin/setty
}
FILES_TCPDownload = "${D}/usr/bin/TCPDownload"
FILES_USBDownload = "${D}/usr/bin/USBDownload"
FILES_devsrv = "${D}/usr/bin/devsrv"
FILES_i2c-test = "${D}/usr/bin/i2c-test"
FILES_sdusb-cmd = "${D}/usr/bin/sdusb-cmd"
FILES_setty = "${D}/usr/bin/setty"
Help is greatly appreciated!
Greets,
Satya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20130417/46b4947a/attachment.html>
More information about the yocto
mailing list