Skip to content

Commit f1c0b9f

Browse files
committed
minor cleanups
Signed-off-by: Dave Rodgman <[email protected]>
1 parent 31f997b commit f1c0b9f

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

tools/bin/mtest

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,6 @@ MEMSAN_OPTIONS = [ "MBEDTLS_TEST_CONSTANT_FLOW_MEMSAN", "-MBEDTLS_USE_PSA_CRYPTO
5656
MEMSAN_CFLAGS = ['-fsanitize=memory', '-O1', '-g3', '-fno-omit-frame-pointer', '-fno-optimize-sibling-calls', '-fsanitize-memory-track-origins=2']
5757
MEMSAN_CC = "clang"
5858

59-
COMPILER_CONFIGS = {
60-
# "armclang": [ "MBEDTLS_NO_UDBL_DIVISION" ]
61-
}
62-
6359
ASAN_CFLAGS = ['-fsanitize=address', '-fno-common', '-fsanitize=undefined', '-fno-sanitize-recover=all', '-O1', '-g3', '-fno-omit-frame-pointer', '-fno-optimize-sibling-calls']
6460
ASAN_LDFLAGS = ASAN_CFLAGS
6561

@@ -83,11 +79,6 @@ TFM_TARGET_FLAGS = {
8379
("iar", "armv8-thumb2"): ["--cpu=Cortex-M33.no_dsp", "--thumb"]
8480
}
8581

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-
]
9182
COPY_TFM_CONFIG = "//TFM-CONFIG//"
9283

9384
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):
532523
# gather up required options:
533524
# target-specific options
534525
options = target.config
535-
# compiler-specific options
536-
options += COMPILER_CONFIGS.get(target.compiler_family, [])
537526
# memsan options
538527
if args.memsan:
539528
options += MEMSAN_OPTIONS

0 commit comments

Comments
 (0)