summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2018-11-06 15:21:31 -0700
committerSimon Glass <sjg@chromium.org>2018-11-20 19:14:22 -0700
commita3c005506ac87f3684603fc40ada98070027aaa0 (patch)
tree93fbc5417b83429aef496b9aeae5e45b647a2349 /tools
parent048c6e895647c3337450405388bcd538f92e1e3d (diff)
binman: Add a way to enable debugging from the build
When the build fails due to something wrong in binman it is sometimes useful to get a full backtrace showing the location of the failure. Add a BINMAN_DEBUG environment variable to support this along with some documentation. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/binman/README6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/binman/README b/tools/binman/README
index b64dedf2eb..04ed2b799c 100644
--- a/tools/binman/README
+++ b/tools/binman/README
@@ -723,6 +723,12 @@ If you need to specify a particular device-tree compiler to use, you can define
the DTC environment variable. This can be useful when the system dtc is too
old.
+To enable a full backtrace and other debugging features in binman, pass
+BINMAN_DEBUG=1 to your build:
+
+ make sandbox_defconfig
+ make BINMAN_DEBUG=1
+
History / Credits
-----------------