@@ -337,7 +337,6 @@ def redirect_symbol(source, sync, build_dir):
337
337
write (handle , "RESOLVE %s AS %s\n " % (source , sync ))
338
338
return "--edit=%s" % filename
339
339
340
-
341
340
class ARM_STD (ARM ):
342
341
343
342
OFFICIALLY_SUPPORTED = True
@@ -359,7 +358,7 @@ def __init__(
359
358
build_profile = build_profile
360
359
)
361
360
if int (target .build_tools_metadata ["version" ]) > 0 :
362
- #check only for ARMC5 because ARM_STD means using ARMC5, and thus
361
+ #check only for ARMC5 because ARM_STD means using ARMC5, and thus
363
362
# supported_toolchains must include ARMC5
364
363
if "ARMC5" not in target .supported_toolchains :
365
364
raise NotSupportedException (
@@ -565,13 +564,14 @@ def get_config_option(self, config_header):
565
564
return ["-include" , config_header ]
566
565
567
566
def get_compile_options (self , defines , includes , for_asm = False ):
568
-
567
+
569
568
opts = ['-D%s' % d for d in defines ]
569
+
570
570
if self .RESPONSE_FILES :
571
571
opts += ['@{}' .format (self .get_inc_file (includes ))]
572
572
else :
573
573
opts += ["-I%s" % i for i in includes if i ]
574
-
574
+
575
575
config_header = self .get_config_header ()
576
576
if config_header :
577
577
opts .extend (self .get_config_option (config_header ))
0 commit comments