Skip to content

Commit 1f4f6dd

Browse files
committed
Mbed TLS importer: don't import unnecessary files
The Mbed TLS importer accidentally imports Makefile and .gitignore from Mbed TLS's `library/` directory. This commit restricts the pattern to .h and .c files only, and removes the unnecessary files.
1 parent 241b062 commit 1f4f6dd

File tree

3 files changed

+1
-279
lines changed

3 files changed

+1
-279
lines changed

connectivity/mbedtls/source/.gitignore

Lines changed: 0 additions & 4 deletions
This file was deleted.

connectivity/mbedtls/source/Makefile

Lines changed: 0 additions & 274 deletions
This file was deleted.

connectivity/mbedtls/tools/importer/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ rsync:
5555
#
5656
# Copying mbed TLS into mbed library...
5757
rm -rf $(TARGET_SRC)
58-
rsync -a --exclude='*.txt' $(MBED_TLS_DIR)/library/ $(TARGET_SRC)
58+
rsync -a --include='*.[hc]' --exclude='*' $(MBED_TLS_DIR)/library/ $(TARGET_SRC)
5959
#
6060
# Copying mbed TLS headers to mbed includes...
6161
rm -rf $(TARGET_INC)

0 commit comments

Comments
 (0)