Use #ifdef rather than patch for target_config.h
This commit is contained in:
parent
c5e0372056
commit
43569a93cc
2 changed files with 4 additions and 2 deletions
|
@ -2421,6 +2421,10 @@
|
|||
|
||||
/* \} name SECTION: Module configuration options */
|
||||
|
||||
#if defined(TARGET_LIKE_MBED)
|
||||
#include "mbedtls/target_config.h"
|
||||
#endif
|
||||
|
||||
#include "check_config.h"
|
||||
|
||||
#endif /* MBEDTLS_CONFIG_H */
|
||||
|
|
|
@ -68,5 +68,3 @@ conf unset MBEDTLS_SSL_PROTO_SSL3
|
|||
conf unset MBEDTLS_SSL_PROTO_TLS1
|
||||
conf unset MBEDTLS_SSL_PROTO_TLS1_1
|
||||
conf unset MBEDTLS_SSL_TRUNCATED_HMAC
|
||||
|
||||
perl -pi -e 's/#include "check_config.h"/#include "target_config.h"\n$&/' $FILE
|
||||
|
|
Loading…
Reference in a new issue