[oe] Installing MAD-FCL using bitbake
Alberto Carrozzo
gilby985 at gmail.com
Sun Apr 17 17:20:58 UTC 2011
Hello, I'm trying to install MAD-FCL (http://mad.cs.tut.fi/) in order
to use the Flute protocol on Angstrom... to do it, I modified the
"wscan_20091230.bb" recipe that you can find in
"oe/openembedded/recipes/dvbtools/" folder...
_________________________________________________
ESCRIPTION = "Wscan is a dvb channel scanner that doesn't require an
initial frequency table"
LICENSE = "GPLv2"
SRC_URI = "http://wirbel.htpc-forum.de/w_scan/w_scan-${PV}.tar.bz2"
S = "${WORKDIR}/w_scan-${PV}"
inherit autotools
FILES_${PN} += "${datadir}"
SRC_URI[md5sum] = "97cd83d5c174e386d01a364b2d280f2a"
SRC_URI[sha256sum] =
"1a5864559b6a0acb76b9fa66b4e1351acd7d06c4e4a9a2ba323e7eafa4d4788b"
__________________________________________________
It works perfectly and bitbaking it I can find the executable w_scan
in the ~/oe/tmp/work/armv7a-angstrom-linux-gnueabi/wscan-20091230-r0/w_scan-20091230
folder... So I modifed it in this way:
___________________________________________________
SRC_URI = "http://mad.cs.tut.fi/download/mad_fcl_v1.7_src.tar.gz"
S = "${WORKDIR}/flute"
inherit autotools
FILES_${PN} += "${bindir}/flute"
SRC_URI[md5sum] = "71a0c9d856a9b949b2c7c25bfd91029e"
SRC_URI[sha256sum] =
"97c0abc3807e48b102fee85bf14aaaeabe39ce3f98bb4423daed9651978e62f0"
____________________________________________________
...but it doesn't work and it gives me the following error on the
log.do_install file:
____________________________________________________
NOTE: make DESTDIR=/home/gilby/oe/tmp/work/armv7a-angstrom-linux-gnueabi/flute-1.0-r0/image
install
make: *** No rule to make target `install'. Stop.
FATAL: oe_runmake failed
ERROR: Function do_install failed
____________________________________________________
Note: the log.do_compile file tells me "NOTE: nothing to compile"
... OK, so i added this on the recipe above:
____________________________________________________
do_install(){
install -m 0755 -d ${D}${bindir} ${D}${docdir}/flute
}
____________________________________________________
and it work without errors... but the log.do_compile file tells me
again "NOTE: nothing to compile" and i can't find the executable in
the ~/oe/tmp/work/armv7a-angstrom-linux-gnueabi/flute-1.0-r0/
folder... and the same thing happen if I delete the "inherit
autotools" row...
SO:
1) Why for some recipes it execute the makefile automatically and not
for other ones?
2) How can I fix my prolems?
somebody can help me? thank you so much
More information about the Openembedded-devel
mailing list