Browse Source

[components][libc]修改Kconfig选项名

zhangjun 5 years ago
parent
commit
9714b520c4
2 changed files with 3 additions and 3 deletions
  1. 2 2
      components/libc/Kconfig
  2. 1 1
      components/libc/compilers/common/SConscript

+ 2 - 2
components/libc/Kconfig

@@ -40,8 +40,8 @@ if RT_USING_LIBC && RT_USING_DFS
 endif
 endif
 
 
 if RT_USING_LIBC != y
 if RT_USING_LIBC != y
-        config RT_USING_MINI_TIME
-        bool "Enable MINI TIME FUNCTIONS WITHOUT COMPILER'S LIBC"
+        config RT_LIBC_USING_TIME
+        bool "Enable TIME FUNCTIONS WITHOUT COMPILER'S LIBC"
         default y
         default y
 endif
 endif
 
 

+ 1 - 1
components/libc/compilers/common/SConscript

@@ -10,7 +10,7 @@ CPPPATH = [cwd]
 if GetDepend('RT_USING_LIBC'):
 if GetDepend('RT_USING_LIBC'):
         src += Glob('*.c')
         src += Glob('*.c')
 else:
 else:
-        if GetDepend('RT_USING_MINI_TIME'):
+        if GetDepend('RT_LIBC_USING_TIME'):
                 src += ['time.c']
                 src += ['time.c']
 
 
 if (rtconfig.PLATFORM == 'armcc' or rtconfig.PLATFORM == 'iar') and rtconfig.ARCH != 'sim' :
 if (rtconfig.PLATFORM == 'armcc' or rtconfig.PLATFORM == 'iar') and rtconfig.ARCH != 'sim' :