@@ -56,10 +56,6 @@ MEMSAN_OPTIONS = [ "MBEDTLS_TEST_CONSTANT_FLOW_MEMSAN", "-MBEDTLS_USE_PSA_CRYPTO
56
56
MEMSAN_CFLAGS = ['-fsanitize=memory' , '-O1' , '-g3' , '-fno-omit-frame-pointer' , '-fno-optimize-sibling-calls' , '-fsanitize-memory-track-origins=2' ]
57
57
MEMSAN_CC = "clang"
58
58
59
- COMPILER_CONFIGS = {
60
- # "armclang": [ "MBEDTLS_NO_UDBL_DIVISION" ]
61
- }
62
-
63
59
ASAN_CFLAGS = ['-fsanitize=address' , '-fno-common' , '-fsanitize=undefined' , '-fno-sanitize-recover=all' , '-O1' , '-g3' , '-fno-omit-frame-pointer' , '-fno-optimize-sibling-calls' ]
64
60
ASAN_LDFLAGS = ASAN_CFLAGS
65
61
@@ -83,11 +79,6 @@ TFM_TARGET_FLAGS = {
83
79
("iar" , "armv8-thumb2" ): ["--cpu=Cortex-M33.no_dsp" , "--thumb" ]
84
80
}
85
81
86
- # Each tuple contains: (config file, associated crypto_config file if needed, hash of first usable version of file)
87
- TFM_CONFIG_FILES = [
88
- ("config-tfm.h" , None , "0c98f9f8423c74fcd2a04a0f1c17e3f9fb37448b" ),
89
- ("tfm_mbedcrypto_config_profile_medium.h" , "crypto_config_profile_medium.h" , "2f1ae5a86ebd67faa50c3983b4567656c2234674" ),
90
- ]
91
82
COPY_TFM_CONFIG = "//TFM-CONFIG//"
92
83
93
84
Target = namedtuple ("Target" , ["compiler" , "compiler_family" , "arch" , "baremetal" , "isa" , "arch_isa" , "is_native" , "arm_arch" , "cflags" , "ldflags" , "config" ])
@@ -532,8 +523,6 @@ def configure_options(target):
532
523
# gather up required options:
533
524
# target-specific options
534
525
options = target .config
535
- # compiler-specific options
536
- options += COMPILER_CONFIGS .get (target .compiler_family , [])
537
526
# memsan options
538
527
if args .memsan :
539
528
options += MEMSAN_OPTIONS
0 commit comments