mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-24 14:03:29 +08:00
47c1c50134
This patch moves the tip on searching in the configuration editors into the section 'Buildroot configuration', which is more logical. The wording of that section is slightly adapted to fit this new part. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
72 lines
1.8 KiB
Plaintext
72 lines
1.8 KiB
Plaintext
// -*- mode:doc; -*-
|
|
// vim: set syntax=asciidoc:
|
|
|
|
[[make-tips]]
|
|
=== 'make' tips
|
|
|
|
This is a collection of tips that help you make the most of Buildroot.
|
|
|
|
.Display all commands executed by make:
|
|
|
|
--------------------
|
|
$ make V=1 <target>
|
|
--------------------
|
|
|
|
.Display all available targets:
|
|
|
|
--------------------
|
|
$ make help
|
|
--------------------
|
|
|
|
Not all targets are always available,
|
|
some settings in the +.config+ file may hide some targets:
|
|
|
|
* +busybox-menuconfig+ only works when +busybox+ is enabled;
|
|
* +linux-menuconfig+ and +linux-savedefconfig+ only work when
|
|
+linux+ is enabled;
|
|
* +uclibc-menuconfig+ is only available when the uClibc C library is
|
|
selected in the internal toolchain backend;
|
|
* +barebox-menuconfig+ and +barebox-savedefconfig+ only work when the
|
|
+barebox+ bootloader is enabled.
|
|
|
|
.Cleaning:
|
|
|
|
Explicit cleaning is required when any of the architecture or toolchain
|
|
configuration options are changed.
|
|
|
|
To delete all build products (including build directories, host, staging
|
|
and target trees, the images and the toolchain):
|
|
|
|
--------------------
|
|
$ make clean
|
|
--------------------
|
|
|
|
.Generating the manual:
|
|
|
|
The present manual sources are located in the 'docs/manual' directory.
|
|
To generate the manual:
|
|
|
|
---------------------------------
|
|
$ make manual-clean
|
|
$ make manual
|
|
---------------------------------
|
|
|
|
The manual outputs will be generated in 'output/docs/manual'.
|
|
|
|
.Notes
|
|
- A few tools are required to build the documentation (see:
|
|
xref:requirement-optional[]).
|
|
|
|
.Resetting Buildroot for a new target:
|
|
|
|
To delete all build products as well as the configuration:
|
|
|
|
--------------------
|
|
$ make distclean
|
|
--------------------
|
|
|
|
.Notes
|
|
If +ccache+ is enabled, running +make clean+ or +distclean+ does
|
|
not empty the compiler cache used by Buildroot. To delete it, refer
|
|
to xref:ccache[].
|