From: Daniel Kenji Morgan <daniel.kenji.morgan@gmail.com>
To: yocto@yoctoproject.org
Subject: Trouble installing shared library/header to sysroot
Date: Wed, 10 Sep 2014 21:54:11 +0900 [thread overview]
Message-ID: <541049F3.4070805@gmail.com> (raw)
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?
reply other threads:[~2014-09-10 12:54 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=541049F3.4070805@gmail.com \
--to=daniel.kenji.morgan@gmail.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.