Skip to content

Commit 4746beb

Browse files
committed
Switch to = style for preincludes
relpaces the --preinclude mbed_config.h with --preinclude=mbed_config.h
1 parent f92d3ec commit 4746beb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tools/toolchains/arm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def get_dep_option(self, object):
115115
return ["--depend", dep_path]
116116

117117
def get_config_option(self, config_header) :
118-
return ['--preinclude', config_header]
118+
return ['--preinclude=' + config_header]
119119

120120
def get_compile_options(self, defines, includes):
121121
opts = ['-D%s' % d for d in defines] + ['--via', self.get_inc_file(includes)]

tools/toolchains/iar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def cc_extra(self, object):
127127
return ["-l", base + '.s.txt']
128128

129129
def get_config_option(self, config_header):
130-
return ['--preinclude', config_header]
130+
return ['--preinclude=' + config_header]
131131

132132
def get_compile_options(self, defines, includes, for_asm=False):
133133
opts = ['-f', self.get_inc_file(includes)]

0 commit comments

Comments
 (0)