Changes between Version 5 and Version 6 of buildroot


Ignore:
Timestamp:
11/08/2018 09:32:10 AM (4 months ago)
Author:
Tim Harvey
Comment:

added section on using buildroot toolchain externally

Legend:

Unmodified
Added
Removed
Modified
  • buildroot

    v5 v6  
    5757 * [wiki:linux/initramfs linux/initramfs]
    5858
     59
     60[=#toolchain]
     61== Using Buildroot toolchain externally
     62Buildroot builds its own GCC toolchain and using this externally can be useful. The toolchain generated by Buildroot is located by default in {{{output/host/}}} and the simplest way to use it to to add {{{output/host/bin/}}} to your PATH then and use the version of gcc tools there.
     63
     64For example:
     65{{{#!bash
     66export PATH=$PWD/output/host/bin:$PATH
     67export CROSS_COMPILE=arm-linux-
     68export ARCH=arm
     69}}}
     70
     71It is possible to relocate this toolchain making it easy for distribution using {{{make sdk}}} which prepares the toolchain to be relocatable and creates a tarball in the {{{output/host/}}} directory. The {{{relocate-sdk.sh}}} script in the tarball can be used to update paths.
     72
     73See the full documentation in docs/manual/using-buildroot-toolchain.txt
    5974
    6075[=#busybox]