Skip to content

Commit

Permalink
fix:[klib]Kconfig显示文案错误
Browse files Browse the repository at this point in the history
  • Loading branch information
wdfk-prog authored and mysterywolf committed Dec 8, 2024
1 parent 6876cb6 commit ec900a7
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions src/klibc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit ec900a7

Please sign in to comment.