mirror of https://github.com/ARMmbed/mbed-os.git
for file in `ls tofor file in `ls tools/export`; do sed -i tools/export/$file -e "s/MBED_CONF_ACTIVE/MBED_CONFIG_HEADER_SUPPORTED/"; done
parent
4746beb256
commit
7b83c30ba1
|
@ -33,7 +33,7 @@ class AtmelStudio(Exporter):
|
|||
|
||||
DOT_IN_RELATIVE_PATH = True
|
||||
|
||||
MBED_CONF_ACTIVE = True
|
||||
MBED_CONFIG_HEADER_SUPPORTED = True
|
||||
|
||||
def generate(self):
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ class CodeRed(Exporter):
|
|||
NAME = 'CodeRed'
|
||||
TOOLCHAIN = 'GCC_CR'
|
||||
|
||||
MBED_CONF_ACTIVE = True
|
||||
MBED_CONFIG_HEADER_SUPPORTED = True
|
||||
|
||||
TARGETS = [
|
||||
'LPC1768',
|
||||
|
|
|
@ -31,7 +31,7 @@ class IntermediateFile(Exporter):
|
|||
# we support all GCC targets (is handled on IDE side)
|
||||
TARGETS = gccTargets
|
||||
|
||||
MBED_CONF_ACTIVE = True
|
||||
MBED_CONFIG_HEADER_SUPPORTED = True
|
||||
|
||||
FILE_TYPES = {
|
||||
'headers': 'h',
|
||||
|
|
|
@ -172,7 +172,7 @@ class Exporter(object):
|
|||
self.resources = config.load_resources(resources)
|
||||
|
||||
|
||||
if hasattr(self, "MBED_CONF_ACTIVE") and self.MBED_CONF_ACTIVE :
|
||||
if hasattr(self, "MBED_CONFIG_HEADER_SUPPORTED") and self.MBED_CONFIG_HEADER_SUPPORTED :
|
||||
# Add the configuration file to the target directory
|
||||
self.config_header = self.toolchain.MBED_CONFIG_FILE_NAME
|
||||
config.get_config_data_header(join(trg_path, self.config_header))
|
||||
|
|
|
@ -121,7 +121,7 @@ class GccArm(Exporter):
|
|||
|
||||
DOT_IN_RELATIVE_PATH = True
|
||||
|
||||
MBED_CONF_ACTIVE = True
|
||||
MBED_CONFIG_HEADER_SUPPORTED = True
|
||||
|
||||
def generate(self):
|
||||
# "make" wants Unix paths
|
||||
|
|
|
@ -33,7 +33,7 @@ class IAREmbeddedWorkbench(Exporter):
|
|||
# PROGEN_ACTIVE contains information for exporter scripts that this is using progen
|
||||
PROGEN_ACTIVE = True
|
||||
|
||||
MBED_CONF_ACTIVE = True
|
||||
MBED_CONFIG_HEADER_SUPPORTED = True
|
||||
|
||||
# backward compatibility with our scripts
|
||||
TARGETS = []
|
||||
|
|
|
@ -101,7 +101,7 @@ class SimplicityV3(Exporter):
|
|||
|
||||
DOT_IN_RELATIVE_PATH = False
|
||||
|
||||
MBED_CONF_ACTIVE = True
|
||||
MBED_CONFIG_HEADER_SUPPORTED = True
|
||||
|
||||
orderedPaths = Folder("Root")
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ class Uvision4(Exporter):
|
|||
# PROGEN_ACTIVE contains information for exporter scripts that this is using progen
|
||||
PROGEN_ACTIVE = True
|
||||
|
||||
MBED_CONF_ACTIVE = True
|
||||
MBED_CONFIG_HEADER_SUPPORTED = True
|
||||
|
||||
# backward compatibility with our scripts
|
||||
TARGETS = []
|
||||
|
|
|
@ -34,7 +34,7 @@ class Uvision5(Exporter):
|
|||
# PROGEN_ACTIVE contains information for exporter scripts that this is using progen
|
||||
PROGEN_ACTIVE = True
|
||||
|
||||
MBED_CONF_ACTIVE = True
|
||||
MBED_CONFIG_HEADER_SUPPORTED = True
|
||||
|
||||
# backward compatibility with our scripts
|
||||
TARGETS = []
|
||||
|
|
Loading…
Reference in New Issue