1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-10-09 20:16:27 +02:00

binman: Support enabling debug in tests

The elf module can provide some debugging information to assist with
figuring out what is going wrong. This is also useful in tests. Update the
-D option so that it is passed through to tests as well.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2017-11-13 18:55:00 -07:00
parent f689890d8e
commit 7fe9173be7
4 changed files with 23 additions and 6 deletions

View File

@@ -12,6 +12,7 @@ import sys
import tools
import command
import elf
import fdt
import fdt_util
from image import Image
@@ -89,6 +90,8 @@ def Binman(options, args):
try:
tout.Init(options.verbosity)
if options.debug:
elf.debug = True
try:
tools.SetInputDirs(options.indir)
tools.PrepareOutputDir(options.outdir, options.preserve)