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

pull/1975/head
Jimmy Brisson 2016-06-27 10:40:32 -05:00
parent 4746beb256
commit 7b83c30ba1
9 changed files with 9 additions and 9 deletions

View File

@ -33,7 +33,7 @@ class AtmelStudio(Exporter):
DOT_IN_RELATIVE_PATH = True
MBED_CONF_ACTIVE = True
MBED_CONFIG_HEADER_SUPPORTED = True
def generate(self):

View File

@ -22,7 +22,7 @@ class CodeRed(Exporter):
NAME = 'CodeRed'
TOOLCHAIN = 'GCC_CR'
MBED_CONF_ACTIVE = True
MBED_CONFIG_HEADER_SUPPORTED = True
TARGETS = [
'LPC1768',

View File

@ -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',

View File

@ -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))

View File

@ -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

View File

@ -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 = []

View File

@ -101,7 +101,7 @@ class SimplicityV3(Exporter):
DOT_IN_RELATIVE_PATH = False
MBED_CONF_ACTIVE = True
MBED_CONFIG_HEADER_SUPPORTED = True
orderedPaths = Folder("Root")

View File

@ -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 = []

View File

@ -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 = []