浏览代码

remove RT_USING_NOLIBC

Meco Man 4 年之前
父节点
当前提交
8f7bbfa011
共有 4 个文件被更改,包括 0 次插入8 次删除
  1. 0 1
      bsp/efm32/rtconfig.h
  2. 0 3
      bsp/simulator/rtconfig_project.h
  3. 0 1
      bsp/taihu/rtconfig.h
  4. 0 3
      tools/building.py

+ 0 - 1
bsp/efm32/rtconfig.h

@@ -211,7 +211,6 @@
 #endif
 
 /* SECTION: Runtime library */
-// #define RT_USING_NOLIBC
 // #define RT_USING_NEWLIB
 #define RT_LIBC_USING_TIME
 

+ 0 - 3
bsp/simulator/rtconfig_project.h

@@ -17,9 +17,6 @@
 #pragma warning(disable:4267)   /* to ignore: warning C4267: conversion from 'size_t' to 'rt_size_t', possible loss of data */
 #pragma warning(disable:4244)   /* to ignore: warning C4244: '=' : conversion from '__w64 int' to 'rt_size_t', possible loss of data */
 
-#elif defined(__GNUC__)
-#define RT_USING_NOLIBC
-
 #endif /* end of _MSC_VER */
 
 #endif

+ 0 - 1
bsp/taihu/rtconfig.h

@@ -53,7 +53,6 @@
 /* Using Small MM*/
 #define RT_USING_SMALL_MEM
 
-// #define RT_USING_NOLIBC
 #define RT_TINY_SIZE
 
 /* SECTION: Device System */

+ 0 - 3
tools/building.py

@@ -276,9 +276,6 @@ def PrepareBuilding(env, root_directory, has_libcpu=False, remove_components = [
         except KeyError:
             print ('Unknow target: '+ tgt_name+'. Avaible targets: ' +', '.join(tgt_dict.keys()))
             sys.exit(1)
-    elif (GetDepend('RT_USING_NEWLIB') == False and GetDepend('RT_USING_NOLIBC') == False) \
-        and rtconfig.PLATFORM == 'gcc':
-        AddDepend('RT_USING_MINILIBC')
 
     # auto change the 'RTT_EXEC_PATH' when 'rtconfig.EXEC_PATH' get failed
     if not os.path.exists(rtconfig.EXEC_PATH):