I created a recipe for an autotools project. Most of it seems to work ok,
but it doesn't install to my angstrom image.
In theory it seems all that is needed is to define the SRC_URI and inherit
autotools. I have tried various stuff but I always get an error when I try
to install my recipe to the image.
I must be missing something very basic, but not sure what that could be.
I'm pasting my recipe below. This project works fine and compiles native
for x86 as well as being able to compile for my target by having the cross
compiler path'd in to my environment and configuring with:
/configure --host=arm-angstrom-linux-gnueabi
Any tips would be appreciated.
--
Regards,
Alan
DESCRIPTION = "Fiber Locator Server for Vivax-Metrotech"
LICENSE = "GPLv3+"
SECTION = "console/network"
LIC_FILES_CHKSUM =
"file:///home/aland/src/vxmt/FLS/COPYING;md5=d32239bcb673463ab874e80d47fae504"
PR = "r2"
SRC_URI = "file:///home/aland/src/vxmt/FLS/"
# DEPENDS = ""
S = "${WORKDIR}"
do_configure () {
# ./configure
--prefix=/home/aland/src/setup-scripts/build/tmp-angstrom_v2012_05-eglibc/deploy/images/beaglebone
oe_runconf
}
do_compile () {
DESTDIR=/home/aland/src/setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work/armv7a-angstrom-linux-gnueabi/metrotech-fls-1.0-r2/FLS/
make -C
/home/aland/src/setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work/armv7a-angstrom-linux-gnueabi/metrotech-fls-1.0-r2/FLS/
# oe_runmake install DESTDIR=${D}
}
fakeroot do_install () {
#
DESTDIR=/home/aland/src/setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work/armv7a-angstrom-linux-gnueabi/metrotech-fls-1.0-r2/FLS
# make install
# install -d ${STAGING_BINDIR}
# install -m 0755 ${STAGING_BINDIR}/OrcaTX.out
oe_runmake install DESTDIR=${STAGING_BINDIR}
}
# FILES_${PN} = "/usr/local/bin/OrcaTX.out"
inherit autotools
_______________________________________________
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel