sdk-appendix-customizing-standard.xml 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
  2. "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
  3. [<!ENTITY % poky SYSTEM "../poky.ent"> %poky; ] >
  4. <appendix id='sdk-appendix-customizing-standard'>
  5. <title>Customizing the Standard SDK</title>
  6. <para>
  7. This appendix presents customizations you can apply to the standard SDK.
  8. </para>
  9. <section id='sdk-adding-individual-packages'>
  10. <title>Adding Individual Packages to the Standard SDK</title>
  11. <para>
  12. When you build a standard SDK using the
  13. <filename>bitbake -c populate_sdk</filename>, a default set of
  14. packages is included in the resulting SDK.
  15. The
  16. <ulink url='&YOCTO_DOCS_REF_URL;#var-TOOLCHAIN_HOST_TASK'><filename>TOOLCHAIN_HOST_TASK</filename></ulink>
  17. and
  18. <ulink url='&YOCTO_DOCS_REF_URL;#var-TOOLCHAIN_TARGET_TASK'><filename>TOOLCHAIN_TARGET_TASK</filename></ulink>
  19. variables control the set of packages adding to the SDK.
  20. </para>
  21. <para>
  22. If you want to add individual packages to the toolchain that runs on
  23. the host, simply add those packages to the
  24. <filename>TOOLCHAIN_HOST_TASK</filename> variable.
  25. Similarly, if you want to add packages to the default set that is
  26. part of the toolchain that runs on the target, add the packages to the
  27. <filename>TOOLCHAIN_TARGET_TASK</filename> variable.
  28. </para>
  29. </section>
  30. <section id='adding-api-documentation-to-the-standard-sdk'>
  31. <title>Adding API Documentation to the Standard SDK</title>
  32. <para>
  33. You can include API documentation as well as any other
  34. documentation provided by recipes with the standard SDK by
  35. adding "api-documentation" to the
  36. <ulink url='&YOCTO_DOCS_REF_URL;#var-DISTRO_FEATURES'><filename>DISTRO_FEATURES</filename></ulink>
  37. variable:
  38. <literallayout class='monospaced'>
  39. DISTRO_FEATURES_append = " api-documentation"
  40. </literallayout>
  41. Setting this variable as shown here causes the OpenEmbedded build
  42. system to build the documentation and then include it in the standard
  43. SDK.
  44. </para>
  45. </section>
  46. </appendix>
  47. <!--
  48. vim: expandtab tw=80 ts=4
  49. -->