瀏覽代碼

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

Meco Man 1 年之前
父節點
當前提交
8061503171
共有 1 個文件被更改,包括 6 次插入0 次删除
  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 "ISO-ANSI C layer"
 
 
 menu "Timezone and Daylight Saving Time"
 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
     config RT_LIBC_USING_LIGHT_TZ_DST
         bool "Enable lightweight timezone and daylight saving time"
         bool "Enable lightweight timezone and daylight saving time"
+        depends on !RT_LIBC_USING_FULL_TZ_DST
         default y
         default y
 
 
     if RT_LIBC_USING_LIGHT_TZ_DST
     if RT_LIBC_USING_LIGHT_TZ_DST