File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
features/mbedtls/importer Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ MBED_TLS_RELEASE ?= mbedtls-2.5.0
33
33
TARGET_PREFIX: =../
34
34
TARGET_SRC: =$(TARGET_PREFIX ) src
35
35
TARGET_INC: =$(TARGET_PREFIX ) inc
36
+ TARGET_TESTS: =$(TARGET_PREFIX ) TESTS
36
37
37
38
# mbed TLS source directory - hidden from mbed via TARGET_IGNORE
38
39
MBED_TLS_URL: =https://github.com/ARMmbed/mbedtls-restricted.git
@@ -70,6 +71,15 @@ deploy: rsync
70
71
# Copy the trimmed config that does not require entropy source
71
72
cp $(MBED_TLS_DIR ) /configs/config-no-entropy.h $(TARGET_INC ) /mbedtls/.
72
73
74
+ deploy-tests : deploy
75
+ #
76
+ # Copying mbed TLS tests...
77
+ rm -rf $(TARGET_TESTS )
78
+ mkdir -p $(TARGET_TESTS )
79
+ rsync -a --delete $(MBED_TLS_DIR ) /tests/TESTS/ $(TARGET_TESTS )
80
+ mkdir -p $(TARGET_TESTS ) /host_tests
81
+ cp $(MBED_TLS_DIR ) /tests/scripts/mbedtls_test.py $(TARGET_TESTS ) /host_tests/
82
+
73
83
update : $(MBED_TLS_GIT_CFG ) $(MBED_TLS_HA_GIT_CFG )
74
84
#
75
85
# Updating to the specified mbed TLS library version
You can’t perform that action at this time.
0 commit comments