Browse Source

fix:[klib]Kconfig显示文案错误

wdfk-prog 6 months ago
parent
commit
ec900a7135
1 changed files with 2 additions and 14 deletions
  1. 2 14
      src/klibc/Kconfig

+ 2 - 14
src/klibc/Kconfig

@@ -220,7 +220,7 @@ menu "klibc options"
         endif
     endmenu # rt_strncmp options
 
-    menu "rt_strncmp options"
+    menu "rt_strcmp options"
         config RT_KLIBC_USING_USER_STRCMP
             bool "Enable rt_strcmp to use user-defined version"
             default n
@@ -230,19 +230,7 @@ menu "klibc options"
                 bool "Enable rt_strcmp to use libc strcmp"
                 default n
         endif
-    endmenu # rt_strncmp options
-
-    menu "rt_strncmp options"
-        config RT_KLIBC_USING_USER_STRLEN
-            bool "Enable rt_strlen to use user-defined version"
-            default n
-
-        if !RT_KLIBC_USING_USER_STRLEN
-            config RT_KLIBC_USING_LIBC_STRLEN
-                bool "Enable rt_strlen to use libc strlen"
-                default n
-        endif
-    endmenu # rt_strncmp options
+    endmenu # rt_strcmp options
 
     menu "rt_strlen options"
         config RT_KLIBC_USING_USER_STRLEN