From c9adae97af0f71289da0c1c543de4f52ea8a5b64 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Tue, 28 Apr 2009 21:12:23 +0000 Subject: New section on external toolchain usage --- docs/buildroot.html | 39 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) (limited to 'docs/buildroot.html') diff --git a/docs/buildroot.html b/docs/buildroot.html index ff8c4ca65..f406b8210 100644 --- a/docs/buildroot.html +++ b/docs/buildroot.html @@ -36,6 +36,7 @@ same buildroot source tree
It might be useful not to use the toolchain generated by +Buildroot, for example if you already have a toolchain that is known +to work for your specific CPU, or if the toolchain generation feature +of Buildroot is not sufficiently flexible for you (for example if you +need to generate a system with glibc instead of +uClibc). Buildroot supports using an external +toolchain.
+ +To enable the use of an external toolchain, go in the
+Toolchain menu, and :
External binary toolchain toolchain
+ typeExternal toolchain path
+ appropriately. It should be set to a path where a bin/ directory
+ contains your cross-compiling toolsExternal toolchain prefix, so that the
+ prefix, suffixed with -gcc or -ld will
+ correspond to your cross-compiling toolsIf you are using an external toolchain based on uClibc, the
+Core C library from the external toolchain and
+Libraries to copy from the external toolchain options
+should already have correct values. However, if your external
+toolchain is based on glibc, you'll have to change these values
+according to your cross-compiling toolchain.
To generate external toolchains, we recommend using Crosstool-NG. +It allows to generate toolchains based on uClibc, glibc +and eglibc for a wide range of architectures, and has good +community support.