mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 00:39:46 +00:00
sdk-manual: Updates to "Adjusting the Extensible SDK to Suit Build Host"
I updated this section with clearer text. (From yocto-docs rev: 433388ff37297d905c465a5f05d93953dfe062c5) 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
450a3d75f8
commit
16eddf2be6
@@ -78,11 +78,13 @@
|
|||||||
</para>
|
</para>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section id='adjusting-the-extensible-sdk-to-suit-your-build-system-setup'>
|
<section id='adjusting-the-extensible-sdk-to-suit-your-build-hosts-setup'>
|
||||||
<title>Adjusting the Extensible SDK to Suit Your Build System Setup</title>
|
<title>Adjusting the Extensible SDK to Suit Your Build Host's Setup</title>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
In most cases, the extensible SDK defaults should work.
|
In most cases, the extensible SDK defaults should work with your
|
||||||
|
<ulink url='&YOCTO_DOCS_REF_URL;#hardware-build-system-term'>build host's</ulink>
|
||||||
|
setup.
|
||||||
However, some cases exist for which you might consider making
|
However, some cases exist for which you might consider making
|
||||||
adjustments:
|
adjustments:
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
@@ -93,33 +95,43 @@
|
|||||||
variable and you do not need or want those classes enabled in
|
variable and you do not need or want those classes enabled in
|
||||||
the SDK, you can blacklist them by adding them to the
|
the SDK, you can blacklist them by adding them to the
|
||||||
<ulink url='&YOCTO_DOCS_REF_URL;#var-SDK_INHERIT_BLACKLIST'><filename>SDK_INHERIT_BLACKLIST</filename></ulink>
|
<ulink url='&YOCTO_DOCS_REF_URL;#var-SDK_INHERIT_BLACKLIST'><filename>SDK_INHERIT_BLACKLIST</filename></ulink>
|
||||||
variable.
|
variable as described in the fourth bullet of the previous
|
||||||
The default value of <filename>SDK_INHERIT_BLACKLIST</filename>
|
section.
|
||||||
is set using the "?=" operator.
|
<note>
|
||||||
Consequently, you will need to either set the complete value
|
The default value of
|
||||||
using "=" or append the value using "_append".
|
<filename>SDK_INHERIT_BLACKLIST</filename> is set using
|
||||||
|
the "?=" operator.
|
||||||
|
Consequently, you will need to either define the entire
|
||||||
|
list by using the "=" operator, or you will need to append
|
||||||
|
a value using either "_append" or the "+=" operator.
|
||||||
|
You can learn more about these operators in the
|
||||||
|
"<ulink url='&YOCTO_DOCS_BB_URL;#basic-syntax'>Basic Syntax</ulink>"
|
||||||
|
section of the BitBake User Manual.
|
||||||
|
</note>.
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
<listitem><para>
|
<listitem><para>
|
||||||
If you have classes or recipes that add additional tasks to
|
If you have classes or recipes that add additional tasks to
|
||||||
the standard build flow (i.e. that execute as part of building
|
the standard build flow (i.e. the tasks execute as the recipe
|
||||||
the recipe as opposed to needing to be called explicitly), then
|
builds as opposed to being called explicitly), then you need
|
||||||
you need to do one of the following:
|
to do one of the following:
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
<listitem><para>
|
<listitem><para>
|
||||||
Ensure the tasks are shared state tasks (i.e. their
|
After ensuring the tasks are
|
||||||
output is saved to and can be restored from the shared
|
<ulink url='&YOCTO_DOCS_OM_URL;#shared-state-cache'>shared state</ulink>
|
||||||
state cache), or that the tasks are able to be
|
tasks (i.e. the output of the task is saved to and
|
||||||
produced quickly from a task that is a shared state
|
can be restored from the shared state cache) or
|
||||||
task and add the task name to the value of
|
ensuring the tasks are able to be produced quickly from
|
||||||
|
a task that is a shared state task, add the task name
|
||||||
|
to the value of
|
||||||
<ulink url='&YOCTO_DOCS_REF_URL;#var-SDK_RECRDEP_TASKS'><filename>SDK_RECRDEP_TASKS</filename></ulink>.
|
<ulink url='&YOCTO_DOCS_REF_URL;#var-SDK_RECRDEP_TASKS'><filename>SDK_RECRDEP_TASKS</filename></ulink>.
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
<listitem><para>
|
<listitem><para>
|
||||||
Disable the tasks if they are added by a class and
|
Disable the tasks if they are added by a class and
|
||||||
you do not need the functionality the class provides
|
you do not need the functionality the class provides
|
||||||
in the extensible SDK.
|
in the extensible SDK.
|
||||||
To disable the tasks, add the class to
|
To disable the tasks, add the class to the
|
||||||
<filename>SDK_INHERIT_BLACKLIST</filename> as previously
|
<filename>SDK_INHERIT_BLACKLIST</filename> variable
|
||||||
described.
|
as described in the previous section.
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
|
|||||||
Reference in New Issue
Block a user