summaryrefslogtreecommitdiff
path: root/src/Kconfig
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2024-04-20 15:25:17 -0400
committerMeco Man <[email protected]>2024-04-20 21:52:49 -0400
commitd68e47eb253ab6ba75365d5781e23d60d5d08079 (patch)
tree8c5101658cee45a785b01898fe49a99c4cfb9e94 /src/Kconfig
parent8149eb2e1f524e0eec248b510a5395768dd3c17f (diff)
[klibc] organize and renmae macros, and add CI check
Diffstat (limited to 'src/Kconfig')
-rw-r--r--src/Kconfig26
1 files changed, 14 insertions, 12 deletions
diff --git a/src/Kconfig b/src/Kconfig
index fc5b59938f..283ea7e4ab 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -182,28 +182,30 @@ if RT_USING_TIMER_SOFT
endif
menu "kservice optimization"
+ config RT_USING_TINY_FFS
+ bool "Enable kservice to use tiny finding first bit set method"
+ default n
+endmenu
- config RT_KSERVICE_USING_STDLIB
- bool "Enable kservice to use standard C library"
- default y
+menu "klibc optimization"
- if RT_KSERVICE_USING_STDLIB
- config RT_KSERVICE_USING_STDLIB_MEMORY
+ config RT_KLIBC_USING_STDLIB
+ bool "Enable klibc to use standard C library"
+ default n
+
+ if RT_KLIBC_USING_STDLIB
+ config RT_KLIBC_USING_STDLIB_MEMORY
bool "Use stdlib memory functions to replace (faster, but not safe)"
default n
help
e.g. use memcpy to replace rt_memcpy
endif
- config RT_KSERVICE_USING_TINY_SIZE
- bool "Enable kservice to use tiny size"
- default n
-
- config RT_USING_TINY_FFS
- bool "Enable kservice to use tiny finding first bit set method"
+ config RT_KLIBC_USING_TINY_SIZE
+ bool "Enable tiny size of klibc"
default n
- config RT_KPRINTF_USING_LONGLONG
+ config RT_KLIBC_USING_PRINTF_LONGLONG
bool "Enable rt_printf-family functions to support long-long format"
default y if ARCH_CPU_64BIT
default n