Skip to content

Commit 7b83c30

Browse files
committed
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
1 parent 4746beb commit 7b83c30

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

tools/export/atmelstudio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class AtmelStudio(Exporter):
3333

3434
DOT_IN_RELATIVE_PATH = True
3535

36-
MBED_CONF_ACTIVE = True
36+
MBED_CONFIG_HEADER_SUPPORTED = True
3737

3838
def generate(self):
3939

tools/export/codered.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class CodeRed(Exporter):
2222
NAME = 'CodeRed'
2323
TOOLCHAIN = 'GCC_CR'
2424

25-
MBED_CONF_ACTIVE = True
25+
MBED_CONFIG_HEADER_SUPPORTED = True
2626

2727
TARGETS = [
2828
'LPC1768',

tools/export/emblocks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class IntermediateFile(Exporter):
3131
# we support all GCC targets (is handled on IDE side)
3232
TARGETS = gccTargets
3333

34-
MBED_CONF_ACTIVE = True
34+
MBED_CONFIG_HEADER_SUPPORTED = True
3535

3636
FILE_TYPES = {
3737
'headers': 'h',

tools/export/exporters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def scan_and_copy_resources(self, prj_paths, trg_path, relative=False):
172172
self.resources = config.load_resources(resources)
173173

174174

175-
if hasattr(self, "MBED_CONF_ACTIVE") and self.MBED_CONF_ACTIVE :
175+
if hasattr(self, "MBED_CONFIG_HEADER_SUPPORTED") and self.MBED_CONFIG_HEADER_SUPPORTED :
176176
# Add the configuration file to the target directory
177177
self.config_header = self.toolchain.MBED_CONFIG_FILE_NAME
178178
config.get_config_data_header(join(trg_path, self.config_header))

tools/export/gccarm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ class GccArm(Exporter):
121121

122122
DOT_IN_RELATIVE_PATH = True
123123

124-
MBED_CONF_ACTIVE = True
124+
MBED_CONFIG_HEADER_SUPPORTED = True
125125

126126
def generate(self):
127127
# "make" wants Unix paths

tools/export/iar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class IAREmbeddedWorkbench(Exporter):
3333
# PROGEN_ACTIVE contains information for exporter scripts that this is using progen
3434
PROGEN_ACTIVE = True
3535

36-
MBED_CONF_ACTIVE = True
36+
MBED_CONFIG_HEADER_SUPPORTED = True
3737

3838
# backward compatibility with our scripts
3939
TARGETS = []

tools/export/simplicityv3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ class SimplicityV3(Exporter):
101101

102102
DOT_IN_RELATIVE_PATH = False
103103

104-
MBED_CONF_ACTIVE = True
104+
MBED_CONFIG_HEADER_SUPPORTED = True
105105

106106
orderedPaths = Folder("Root")
107107

tools/export/uvision4.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class Uvision4(Exporter):
3434
# PROGEN_ACTIVE contains information for exporter scripts that this is using progen
3535
PROGEN_ACTIVE = True
3636

37-
MBED_CONF_ACTIVE = True
37+
MBED_CONFIG_HEADER_SUPPORTED = True
3838

3939
# backward compatibility with our scripts
4040
TARGETS = []

tools/export/uvision5.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class Uvision5(Exporter):
3434
# PROGEN_ACTIVE contains information for exporter scripts that this is using progen
3535
PROGEN_ACTIVE = True
3636

37-
MBED_CONF_ACTIVE = True
37+
MBED_CONFIG_HEADER_SUPPORTED = True
3838

3939
# backward compatibility with our scripts
4040
TARGETS = []

0 commit comments

Comments
 (0)