On 2012-12-06 14:41, Alan DuBoff wrote:
On Thu, 6 Dec 2012, Gary Thomas wrote:
What error do you get when you try to install?
Gary,
I am pasting the output below. I have a meta-metrotech directory setup in the
sources/ which is called metrotech-fls (coincidentally the same recipe I posted
in the previous
message). The below output is what I get after a "bitbake -c clean
metrotech-fls" which completes fine.
I have nothing in the img directory, the entire path is: (from build/tmp)
work/armv7a-angstrom-linux-gnueabi/metrotech-fls-1.0-r2/image
The project builds and install fine to /usr/local/bin on Ubuntu, but breaks
when I add the recipe and build with bitbake.
The metrotech-fls-1.0-r2/image directory does exist, but nothing in it.
See output below...
I think your problem stems from confusion about how recipes work. The
build system centers around packaged sources, typically tarballs. These
are then unpacked into the build "tmp" directory where the build will
actually take place. Trying to use your extant directory will not work
(or at least not work the way things are designed)
Can you try my rewritten version (attached)? First, you'll need to execute
this step to build the tarball:
% tar -zcf /home/aland/src/FLS.tar.gz -C /home/aland/src FLS
Let me know what happens
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
DESCRIPTION = "Fiber Locator Server for Vivax-Metrotech"
LICENSE = "GPLv3+"
SECTION = "console/network"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
PR = "r2"
SRC_URI = "file:///home/aland/src/FLS.tar.gz"
# DEPENDS = ""
S = "${WORKDIR}/FLS"
do_configure () {
oe_runconf
}
inherit autotools
_______________________________________________
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel