mirror of https://github.com/ARMmbed/mbed-os.git
Switch to = style for preincludes
relpaces the --preinclude mbed_config.h with --preinclude=mbed_config.hpull/1975/head
parent
f92d3ec9be
commit
4746beb256
|
|
@ -115,7 +115,7 @@ class ARM(mbedToolchain):
|
|||
return ["--depend", dep_path]
|
||||
|
||||
def get_config_option(self, config_header) :
|
||||
return ['--preinclude', config_header]
|
||||
return ['--preinclude=' + config_header]
|
||||
|
||||
def get_compile_options(self, defines, includes):
|
||||
opts = ['-D%s' % d for d in defines] + ['--via', self.get_inc_file(includes)]
|
||||
|
|
|
|||
|
|
@ -127,7 +127,7 @@ class IAR(mbedToolchain):
|
|||
return ["-l", base + '.s.txt']
|
||||
|
||||
def get_config_option(self, config_header):
|
||||
return ['--preinclude', config_header]
|
||||
return ['--preinclude=' + config_header]
|
||||
|
||||
def get_compile_options(self, defines, includes, for_asm=False):
|
||||
opts = ['-f', self.get_inc_file(includes)]
|
||||
|
|
|
|||
Loading…
Reference in New Issue