mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #6083 from TeroJaasko/fix_mbed_compile_stats_depth
tools: build: fix handing of "--stats-depth"pull/6097/merge
commit
ea411ef074
|
|
@ -528,7 +528,7 @@ def build_project(src_paths, build_path, target, toolchain_name,
|
|||
memap_instance = getattr(toolchain, 'memap_instance', None)
|
||||
memap_table = ''
|
||||
if memap_instance:
|
||||
real_stats_depth = stats_depth if stats_depth is None else 2
|
||||
real_stats_depth = stats_depth if stats_depth is not None else 2
|
||||
memap_table = memap_instance.generate_output('table', real_stats_depth)
|
||||
if not silent:
|
||||
if not stats_depth:
|
||||
|
|
|
|||
Loading…
Reference in New Issue