mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 05:09:24 +00:00
sdk-manual: Updated the note for building SDK Installer
For development purposes, static libraries need to be present only in the SDK. We do not need those static libraries in the image for most scenarios. So, replace IMAGE_INSTALL with TOOLCHAIN_TARGET_TASK in the documentation. I updated the note to reflect this. Suggested-by: Maxin B. John <maxin.john@intel.com> (From yocto-docs rev: c05458c6614c38961d23db8f894d542bf93dbf09) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
912d73d42b
commit
d17632463e
@@ -96,16 +96,16 @@
|
||||
<listitem><para>
|
||||
By default, this toolchain does not build static binaries.
|
||||
If you want to use the toolchain to build these types of
|
||||
libraries, you need to be sure your image has the
|
||||
libraries, you need to be sure your SDK has the
|
||||
appropriate static development libraries.
|
||||
Use the
|
||||
<ulink url='&YOCTO_DOCS_REF_URL;#var-IMAGE_INSTALL'><filename>IMAGE_INSTALL</filename></ulink>
|
||||
<ulink url='&YOCTO_DOCS_REF_URL;#var-TOOLCHAIN_TARGET_TASK'><filename>TOOLCHAIN_TARGET_TASK</filename></ulink>
|
||||
variable inside your <filename>local.conf</filename> file
|
||||
to install the appropriate library packages.
|
||||
Following is an example using <filename>glibc</filename>
|
||||
to install the appropriate library packages in the SDK.
|
||||
Following is an example using <filename>libc</filename>
|
||||
static development libraries:
|
||||
<literallayout class='monospaced'>
|
||||
IMAGE_INSTALL_append = " glibc-staticdev"
|
||||
TOOLCHAIN_TARGET_TASK_append = " libc-staticdev"
|
||||
</literallayout>
|
||||
</para></listitem>
|
||||
<listitem><para>
|
||||
|
||||
Reference in New Issue
Block a user