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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user