Ver Fonte

[libc][time] pre-support fully version timezone and daylight saving time

Meco Man há 1 ano atrás
pai
commit
8061503171
1 ficheiros alterados com 6 adições e 0 exclusões
  1. 6 0
      components/libc/compilers/common/Kconfig

+ 6 - 0
components/libc/compilers/common/Kconfig

@@ -1,8 +1,14 @@
 menu "ISO-ANSI C layer"
 
 menu "Timezone and Daylight Saving Time"
+    config RT_LIBC_USING_FULL_TZ_DST
+        bool "Enable fully version timezone and daylight saving time with database"
+        select PKG_USING_TZ_DATABASE # select timezone database software package
+        default n
+
     config RT_LIBC_USING_LIGHT_TZ_DST
         bool "Enable lightweight timezone and daylight saving time"
+        depends on !RT_LIBC_USING_FULL_TZ_DST
         default y
 
     if RT_LIBC_USING_LIGHT_TZ_DST