Skip to content

Commit ea6212a

Browse files
theotherjimmyDeepika
authored andcommitted
Remove -MMD and debug print
1 parent bed8a0b commit ea6212a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tools/export/uvision/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def format_flags(self):
168168
self.resources.file_basepath[config_header])
169169
config_option = self.toolchain.get_config_option(config_header)
170170
c_flags = set(flags['c_flags'] + flags['cxx_flags'] +flags['common_flags'])
171-
in_template = set(["--no_vla", "--cpp", "--c99"] + config_option)
171+
in_template = set(["--no_vla", "--cpp", "--c99", "-MMD"] + config_option)
172172

173173
invalid_flag = lambda x: (x in in_template or
174174
x.startswith("-O") or
@@ -181,7 +181,6 @@ def format_flags(self):
181181
flags['c_flags'] += " ".join(config_option)
182182
flags['c_defines'] = " ".join(f[2:] for f in c_flags if is_define(f))
183183
flags['ld_flags'] = " ".join(set(flags['ld_flags']))
184-
print(flags['c_flags'])
185184
return flags
186185

187186
def format_src(self, srcs):

0 commit comments

Comments
 (0)