浏览代码

mbedtls: Deactivate platform abstraction

This makes mbedtls use the POSIX API directly and not use the own
abstraction layer.
The size of the ipkg decreased by about 100 bytes.

Signed-off-by: Hauke Mehrtens <[email protected]>
Hauke Mehrtens 7 年之前
父节点
当前提交
2ea8f9c244
共有 1 个文件被更改,包括 9 次插入0 次删除
  1. 9 0
      package/libs/mbedtls/patches/200-config.patch

+ 9 - 0
package/libs/mbedtls/patches/200-config.patch

@@ -213,6 +213,15 @@
  
  
  /**
  /**
   * \def MBEDTLS_MD_C
   * \def MBEDTLS_MD_C
+@@ -2388,7 +2388,7 @@
+  *
+  * This module enables abstraction of common (libc) functions.
+  */
+-#define MBEDTLS_PLATFORM_C
++//#define MBEDTLS_PLATFORM_C
+ 
+ /**
+  * \def MBEDTLS_RIPEMD160_C
 @@ -2399,7 +2399,7 @@
 @@ -2399,7 +2399,7 @@
   * Caller:  library/md.c
   * Caller:  library/md.c
   *
   *