summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime Hadjinlian <maxime.hadjinlian@gmail.com>2014-02-03 01:47:55 +0100
committerPeter Korsgaard <peter@korsgaard.com>2014-02-03 09:25:09 +0100
commit3bcb7e74be71990e7c88facd54d6b90d3d04d681 (patch)
tree43daa59c6c666365971acca3e7ac5ab671176de0
parent42c56751fc554503a03d4a914ce2e814eeaf5a41 (diff)
manual: Clarify wrapper and debug
Try to clarify how the wrapper passes arguments and why. This is mainly because the output you can see when you build, does not reflect what is invoked by the wrapper. Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--docs/manual/customize-toolchain.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/manual/customize-toolchain.txt b/docs/manual/customize-toolchain.txt
index 31c914043..4f3fe2369 100644
--- a/docs/manual/customize-toolchain.txt
+++ b/docs/manual/customize-toolchain.txt
@@ -17,9 +17,10 @@ generate it.
It also requires to set the Buildroot settings according to the toolchain ones
(see xref:external-toolchain-backend[]).
-When using an external toolchain, Buildroot generates a wrapper program, that
-passes the appropriate options (according to the configuration) to the
-external toolchain programs. In case you need to debug this wrapper, you can
+When using an external toolchain, Buildroot generates a wrapper program,
+that transparently passes the appropriate options (according to the
+configuration) to the external toolchain programs. In case you need to
+debug this wrapper to check exactly what arguments are passed, you can
set the environment variable BR_DEBUG_WRAPPER to either one of:
* +0+, empty or not set: no debug