All of lore.kernel.org
 help / color / mirror / Atom feed
* Trouble installing shared library/header to sysroot
@ 2014-09-10 12:54 Daniel Kenji Morgan
  0 siblings, 0 replies; only message in thread
From: Daniel Kenji Morgan @ 2014-09-10 12:54 UTC (permalink / raw)
  To: yocto

Hello,

I have a package that builds a shared library using autotools.
When built, the shared library and header files are correctly installed to /usr/lib and /usr/include respectively.
They are also correctly populated under sysroot.

I have been trying to change the target directory to /opt/lib and /opt/include only with limited success.
I managed to get the library and header files installed correctly by:

1. Setting "--libdir=/opt/lib" and "--includedir=/opt/include" in EXTRA_OECONF
2. Installing the directories in do_install_append
3. Adding the directories and files to FILES_${PN}

However, I cannot get the library and header files populated into the /opt/lib and /opt/include directories under sysroot.
I couldn't find any existing recipes in poky that did something similar.
Is what I am trying to do actually possible under Yocto?



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-09-10 12:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-10 12:54 Trouble installing shared library/header to sysroot Daniel Kenji Morgan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.