Use #ifdef rather than patch for target_config.h

This commit is contained in:
Manuel Pégourié-Gonnard 2015-07-31 15:37:29 +02:00 committed by Manuel Pégourié-Gonnard
parent c5e0372056
commit 43569a93cc
2 changed files with 4 additions and 2 deletions

View File

@ -2421,6 +2421,10 @@
/* \} name SECTION: Module configuration options */ /* \} name SECTION: Module configuration options */
#if defined(TARGET_LIKE_MBED)
#include "mbedtls/target_config.h"
#endif
#include "check_config.h" #include "check_config.h"
#endif /* MBEDTLS_CONFIG_H */ #endif /* MBEDTLS_CONFIG_H */

View File

@ -68,5 +68,3 @@ conf unset MBEDTLS_SSL_PROTO_SSL3
conf unset MBEDTLS_SSL_PROTO_TLS1 conf unset MBEDTLS_SSL_PROTO_TLS1
conf unset MBEDTLS_SSL_PROTO_TLS1_1 conf unset MBEDTLS_SSL_PROTO_TLS1_1
conf unset MBEDTLS_SSL_TRUNCATED_HMAC conf unset MBEDTLS_SSL_TRUNCATED_HMAC
perl -pi -e 's/#include "check_config.h"/#include "target_config.h"\n$&/' $FILE