mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-02-28 19:13:28 +00:00
code_size_compare: remove unnecessary -r in cp command
Signed-off-by: Yanray Wang <yanray.wang@arm.com>
This commit is contained in:
parent
6ef5049b9f
commit
a279ca9ff8
@ -222,9 +222,9 @@ class CodeSizeBuildInfo: # pylint: disable=too-few-public-methods
|
|||||||
"""Infer command to set up proper configuration before running make."""
|
"""Infer command to set up proper configuration before running make."""
|
||||||
pre_make_cmd = [] #type: typing.List[str]
|
pre_make_cmd = [] #type: typing.List[str]
|
||||||
if self.config == SupportedConfig.TFM_MEDIUM.value:
|
if self.config == SupportedConfig.TFM_MEDIUM.value:
|
||||||
pre_make_cmd.append('cp -r {src} {dest}'
|
pre_make_cmd.append('cp {src} {dest}'
|
||||||
.format(src=TFM_MEDIUM_CONFIG_H, dest=CONFIG_H))
|
.format(src=TFM_MEDIUM_CONFIG_H, dest=CONFIG_H))
|
||||||
pre_make_cmd.append('cp -r {src} {dest}'
|
pre_make_cmd.append('cp {src} {dest}'
|
||||||
.format(src=TFM_MEDIUM_CRYPTO_CONFIG_H,
|
.format(src=TFM_MEDIUM_CRYPTO_CONFIG_H,
|
||||||
dest=CRYPTO_CONFIG_H))
|
dest=CRYPTO_CONFIG_H))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user