mirror of https://github.com/ARMmbed/mbed-os.git
Update progen-style flags with the toolchains include mbed_conf.h
parent
5532fb8697
commit
d9b4109143
|
@ -49,6 +49,9 @@ class Exporter(object):
|
|||
def progen_flags(self):
|
||||
if not hasattr(self, "_progen_flag_cache") :
|
||||
self._progen_flag_cache = dict([(key + "_flags", value) for key,value in self.flags.iteritems()])
|
||||
if self.config_header:
|
||||
self._progen_flag_cache['c_flags'] += self.toolchain.get_config_option(self.config_header)
|
||||
self._progen_flag_cache['cxx_flags'] += self.toolchain.get_config_option(self.config_header)
|
||||
return self._progen_flag_cache
|
||||
|
||||
def __scan_and_copy(self, src_path, trg_path):
|
||||
|
|
Loading…
Reference in New Issue