2012-11-11 04:14:42 +01:00
|
|
|
// -*- mode:doc; -*-
|
2013-02-13 13:59:02 +01:00
|
|
|
// vim: set syntax=asciidoc:
|
2012-11-11 04:14:42 +01:00
|
|
|
|
manual: high-level restructuring
The structure of the buildroot manual is not always clear. There is a large
number of chapters, and some chapters seem to overlap. The distinction
between general usage and developer information is not always clear.
This patch restructures the manual into four large parts:
- getting started
- user guide
- developer guide
- appendix
Except for the names of these parts, the section names are not yet changed.
Content-wise there are no changes yet either. This will be handled in
subsequent patches.
In order to achieve the introduction of a new level 'parts' above
'chapters', the section indicators (=, ==, ===, ...) of several sections
have to be moved one level down. Additionally, the leveloffset indication to
asciidoc has to be removed. Finally, to maintain more or less the same level
of detail in the table of contents, the toc.section.depth attribute is
reduced as well. Note that for some sections, less detail is visible now.
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-08-12 22:20:06 +02:00
|
|
|
==== Using the generated toolchain outside Buildroot
|
2011-10-10 10:46:39 +02:00
|
|
|
|
|
|
|
You may want to compile, for your target, your own programs or other
|
|
|
|
software that are not packaged in Buildroot. In order to do this you
|
|
|
|
can use the toolchain that was generated by Buildroot.
|
|
|
|
|
|
|
|
The toolchain generated by Buildroot is located by default in
|
|
|
|
+output/host/+. The simplest way to use it is to add
|
2017-07-05 13:14:32 +02:00
|
|
|
+output/host/bin/+ to your PATH environment variable and then to
|
2011-10-10 10:46:39 +02:00
|
|
|
use +ARCH-linux-gcc+, +ARCH-linux-objdump+, +ARCH-linux-ld+, etc.
|
|
|
|
|
|
|
|
It is possible to relocate the toolchain - but then +--sysroot+ must
|
|
|
|
be passed every time the compiler is called to tell where the
|
|
|
|
libraries and header files are.
|
|
|
|
|
|
|
|
It is also possible to generate the Buildroot toolchain in a directory
|
|
|
|
other than +output/host+ by using the +Build options -> Host dir+
|
2014-12-19 08:12:33 +01:00
|
|
|
option. This could be useful if the toolchain must be shared with
|
2011-10-10 10:46:39 +02:00
|
|
|
other users.
|