diff options
Diffstat (limited to 'documentation/ref-manual/ref-variables.xml')
-rw-r--r-- | documentation/ref-manual/ref-variables.xml | 38 |
1 files changed, 22 insertions, 16 deletions
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 8f0d891..971a898 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml @@ -11141,34 +11141,40 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" </para> <para> + The <filename>TCMODE</filename> variable is similar to + <link linkend='var-TCLIBC'><filename>TCLIBC</filename></link>, + which controls the variant of the GNU standard C library + (<filename>libc</filename>) used during the build process: + <filename>glibc</filename> or <filename>uclibc</filename>. + </para> + + <para> With additional layers, it is possible to use a pre-compiled external toolchain. One example is the Sourcery G++ Toolchain. The support for this toolchain resides in the separate + <trademark class='registered'>Mentor Graphics</trademark> <filename>meta-sourcery</filename> layer at <ulink url='http://github.com/MentorEmbedded/meta-sourcery/'></ulink>. - You can use <filename>meta-sourcery</filename> as a - template for adding support for other external toolchains. </para> <para> - The <filename>TCMODE</filename> variable points the build - system to a file in - <filename>conf/distro/include/tcmode-${TCMODE}.inc</filename>. - Thus, for <filename>meta-sourcery</filename>, - which has <filename>conf/distro/include/tcmode-external-sourcery.inc</filename>, - you would set the variable as follows: - <literallayout class='monospaced'> - TCMODE ?= "external-sourcery" - </literallayout> + The layer's <filename>README</filename> file contains + information on how to use the Sourcery G++ Toolchain as + an external toolchain. + In summary, you must be sure to add the layer to your + <filename>bblayers.conf</filename> file in front of the + <filename>meta</filename> layer and then set the + <link linkend='var-EXTERNAL_TOOLCHAIN'><filename>EXTERNAL_TOOLCHAIN</filename></link> + variable in your <filename>local.conf</filename> file + to the location in which you installed the toolchain. </para> <para> - The variable is similar to - <link linkend='var-TCLIBC'><filename>TCLIBC</filename></link>, - which controls the variant of the GNU standard C library - (<filename>libc</filename>) used during the build process: - <filename>glibc</filename> or <filename>uclibc</filename>. + The fundamentals used for this example apply to any + external toolchain. + You can use <filename>meta-sourcery</filename> as a + template for adding support for other external toolchains. </para> </glossdef> </glossentry> |