2
1

customize-toolchain.txt 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. // -*- mode:doc -*- ;
  2. [[toolchain-custom]]
  3. Customizing the toolchain
  4. ~~~~~~~~~~~~~~~~~~~~~~~~~
  5. There are three distinct types of toolchain backend supported in Buildroot,
  6. available under the menu +Toolchain+, invoking +make menuconfig+.
  7. Using the external toolchain backend
  8. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  9. There is no way of tuning an external toolchain since Buildroot does not
  10. generate it.
  11. It also requires to set the Buildroot settings according to the toolchain ones
  12. (see xref:external-toolchain[]).
  13. Using the internal Buildroot toolchain backend
  14. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  15. The internal Buildroot toolchain backend *only* allows to generate
  16. *http://www.uclibc.org/[uClibc]-based toolchains*.
  17. However, it allows to tune major settings, such as:
  18. * Linux headers version;
  19. * http://www.uclibc.org/[uClibc] configuration (see xref:uclibc-custom[uClibc]);
  20. * Binutils, GCC, Gdb and toolchain options.
  21. These settings are available after selecting the +Buildroot toolchain+ type in
  22. the menu +Toolchain+.
  23. Using the Crosstool-NG backend
  24. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  25. The http://crosstool-ng.org[crosstool-NG] toolchain backend enables a rather
  26. limited set of settings under the Buildroot +Toolchain+ menu:
  27. * The http://crosstool-ng.org[crosstool-NG] configuration file
  28. * Gdb and some toolchain options
  29. Then, the toolchain can be fine-tuned by invoking +make ctng-menuconfig+.