mirror of https://github.com/ARMmbed/mbed-os.git
Update exporters to include the generated mbed_conf.h
parent
f7ad7d2e27
commit
4f29483255
|
@ -36,6 +36,7 @@ class Exporter(object):
|
|||
self.extra_symbols = extra_symbols
|
||||
self.config_macros = []
|
||||
self.sources_relative = sources_relative
|
||||
self.config_header = None
|
||||
|
||||
def get_toolchain(self):
|
||||
return self.TOOLCHAIN
|
||||
|
@ -169,7 +170,10 @@ class Exporter(object):
|
|||
|
||||
# And add the configuration macros to the toolchain
|
||||
self.config_macros = config.get_config_data_macros()
|
||||
|
||||
|
||||
# Add the configuration file to the target directory
|
||||
self.config_header = "mbed_conf.h"
|
||||
cfg.get_config_data_header(join(trg_path, self.config_header))
|
||||
# Check the existence of a binary build of the mbed library for the desired target
|
||||
# This prevents exporting the mbed libraries from source
|
||||
# if not self.toolchain.mbed_libs:
|
||||
|
|
Loading…
Reference in New Issue