[bitbake-devel] Library not getting installed to intended path
Yogesh Tyagi
yogesh.bit2006 at gmail.com
Wed Jun 3 19:07:01 UTC 2015
Hi,
I have added
gstlibdir=$(libdir)/gstreamer-0.10
gstlib_LTLIBRARIES = ....
to my Makefile.am
and removed overiding do_install() from bb file.
While creating roots ,my package was throwing QA warning
WARNING: QA Issue: gst-plugin-linux-user: Files/directories were installed
but not shipped
/lib/gstreamer-0.10
/lib/gstreamer-0.10/libgst................
so I have added these lines to bb file:
FILES_${PN} += "${libdir}/gstreamer-0.10/"
FILES_${PN}-dbg += "${libdir}/gstreamer-0.10/.debug"
FILES_${PN}-dev += "${libdir}/gstreamer-0.10/"
Now library is not going to rootfs at all and no Warning is there. Earlier
it was installing to "/lib" in rootfs. I want the lib to install to
"/usr/lib/gstreamer-0.10" in rootfs. Please provide your suggestions.
Thanks,
Yogesh
On Wed, Jun 3, 2015 at 10:26 PM, Burton, Ross <ross.burton at intel.com> wrote:
>
> On 3 June 2015 at 16:37, Yogesh Tyagi <yogesh.bit2006 at gmail.com> wrote:
>
>> AC_PREFIX_DEFAULT(/usr/lib/gstreamer-0.10)
>> libdir='/usr/lib/gstreamer-0.10'
>>
>
> Yeah, don't do that. Do this instead:
>
> gstlibdir = $(libdir)/gstreamer-0.10
> gstlib_LTLIBRARIES = ...
>
> You don't need to override do_install as automake's install will do the
> right thing if you inherit autotools.
>
> Ross
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/bitbake-devel/attachments/20150604/b0522204/attachment-0002.html>
More information about the bitbake-devel
mailing list