Hello,
I want to compile a self-written program in the "OE-style". Therefore
I followed http://www.gumstix.net/Software/view/Build-system-overview/Hello-world-tutorial/111.html
The bb-file looks like that:
DESCRIPTION = "sample programm"
PR = "r0"
DEPENDS = "libpng"
SRC_URI = " \
file://files.tar.gz \
"
S = "${WORKDIR}"
do_install () {
install -d ${D}${bindir}/
install -m 0755 ${S}/sampleprog${D}${bindir}/
}
FILES_${PN} = "${bindir}/sampleprog"
When I do a "bitbake sampleprog" I get:
NOTE: Executing runqueue
NOTE: Running task 321 of 448 (ID: 8,
/home/developer/my_oe/sampleprog/sampleprog_1.0.0.bb, do_install)
NOTE: package sampleprog-1.0.0: started
NOTE: package sampleprog-1.0.0-r0: task do_install: started
ERROR: function do_install failed
The logfile says:
/home/developer/oe//tmp/staging/i686-linux/usr/bin/install-sh:
/home/developer/oe//tmp/work/armv7a-angstrom-linux-gnueabi/sampleprog-1.0.0-r0/sampleprog
does not exist.
What could be the problem? It seems that the SRC_URI is completly
ignored and bitbake does not try to fetch, unpack and compile
files.tar.gz which is under the files folder.
Robert