Re: [yocto] Trying to build a non-autotools package that contains only a lib. Getting empty archive - package is not generated

2013-12-05 Thread Brian Hutchinson
On Wed, Dec 4, 2013 at 5:38 PM, Chris Larson clar...@kergoth.com wrote: On Wed, Dec 4, 2013 at 3:29 PM, Brian Hutchinson b.hutch...@gmail.comwrote: On Wed, Dec 4, 2013 at 5:10 PM, Chris Larson clar...@kergoth.com wrote: do_install is the task that installs. If your makefile has an install

Re: [yocto] Trying to build a non-autotools package that contains only a lib. Getting empty archive - package is not generated

2013-12-05 Thread Chris Larson
On Thu, Dec 5, 2013 at 6:42 AM, Brian Hutchinson b.hutch...@gmail.comwrote: On Wed, Dec 4, 2013 at 5:38 PM, Chris Larson clar...@kergoth.com wrote: On Wed, Dec 4, 2013 at 3:29 PM, Brian Hutchinson b.hutch...@gmail.comwrote: On Wed, Dec 4, 2013 at 5:10 PM, Chris Larson

Re: [yocto] Trying to build a non-autotools package that contains only a lib. Getting empty archive - package is not generated

2013-12-05 Thread Brian Hutchinson
On Thu, Dec 5, 2013 at 11:11 AM, Chris Larson clar...@kergoth.com wrote: On Thu, Dec 5, 2013 at 6:42 AM, Brian Hutchinson b.hutch...@gmail.comwrote: On Wed, Dec 4, 2013 at 5:38 PM, Chris Larson clar...@kergoth.com wrote: On Wed, Dec 4, 2013 at 3:29 PM, Brian Hutchinson

Re: [yocto] Trying to build a non-autotools package that contains only a lib. Getting empty archive - package is not generated

2013-12-05 Thread Chris Larson
On Thu, Dec 5, 2013 at 9:21 AM, Brian Hutchinson b.hutch...@gmail.comwrote: I had FILES_${PN} += “${libdir}/*.so” in there and that didn't work. Maybe it was because I was missing the FILES_SOLIBSDEV = “ you mentioned. I'll play with it some more and see what happens. I first started out with

Re: [yocto] Trying to build a non-autotools package that contains only a lib. Getting empty archive - package is not generated

2013-12-05 Thread Brian Hutchinson
On Thu, Dec 5, 2013 at 11:23 AM, Chris Larson clar...@kergoth.com wrote: Heh :) The issue there is that the patterns are matched in the order of the PACKAGES variable. The first package to include a file gets it, and ${PN}-dev is in PACKAGES before ${PN}. By emptying FILES_SOLIBSDEV, that’ll

[yocto] Trying to build a non-autotools package that contains only a lib. Getting empty archive - package is not generated

2013-12-04 Thread Brian Hutchinson
Hi, I appear to be having the same problem this guy had: https://lists.yoctoproject.org/pipermail/poky/2013-June/009017.html I'm trying to build a Makefile based project (not autotools) that just generates a shared library. When I bitbake my recipe I get a -dev and -dbg .ipk package but not

Re: [yocto] Trying to build a non-autotools package that contains only a lib. Getting empty archive - package is not generated

2013-12-04 Thread Chris Larson
On Wed, Dec 4, 2013 at 3:02 PM, Brian Hutchinson b.hutch...@gmail.comwrote: I appear to be having the same problem this guy had: https://lists.yoctoproject.org/pipermail/poky/2013-June/009017.html I'm trying to build a Makefile based project (not autotools) that just generates a shared

Re: [yocto] Trying to build a non-autotools package that contains only a lib. Getting empty archive - package is not generated

2013-12-04 Thread Brian Hutchinson
On Wed, Dec 4, 2013 at 5:10 PM, Chris Larson clar...@kergoth.com wrote: do_install is the task that installs. If your makefile has an install target, you’d define a do_install that runs it. But not all makefiles provide an equivalent to automake’s DESTDIR, which is why we don’t provide a

Re: [yocto] Trying to build a non-autotools package that contains only a lib. Getting empty archive - package is not generated

2013-12-04 Thread Chris Larson
On Wed, Dec 4, 2013 at 3:29 PM, Brian Hutchinson b.hutch...@gmail.comwrote: On Wed, Dec 4, 2013 at 5:10 PM, Chris Larson clar...@kergoth.com wrote: do_install is the task that installs. If your makefile has an install target, you’d define a do_install that runs it. But not all makefiles