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
  • Using the uClibc toolchain outside Buildroot
  • +
  • Use an external toolchain
  • Location of downloaded packages
  • Extending Buildroot with more @@ -840,7 +841,43 @@ ln -s <shared download location> dl export BUILDROOT_DL_DIR <shared download location> - +

    Using + an external toolchain

    + +

    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 :

    + + + +

    If 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.

    Extending Buildroot with more software

    -- cgit v1.2.3