Kconfig 1018 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. menu "POSIX layer and C standard library"
  2. config RT_USING_LIBC
  3. bool "Enable libc APIs from the toolchain"
  4. default n
  5. if RT_USING_LIBC
  6. config RT_LIBC_USING_TIME
  7. default y
  8. config RT_LIBC_USING_FILEIO
  9. bool "Enable libc with file operation, eg.fopen/fwrite/fread/getchar/STDIO"
  10. select RT_USING_POSIX_FS
  11. select RT_USING_POSIX_DEVIO
  12. default n
  13. config RT_USING_MODULE
  14. bool "Enable dynamic module with dlopen/dlsym/dlclose feature"
  15. default n
  16. if RT_USING_MODULE
  17. config RT_USING_CUSTOM_DLMODULE
  18. bool "Enable load dynamic module by custom"
  19. default n
  20. endif
  21. endif
  22. if RT_USING_LIBC != y
  23. config RT_LIBC_USING_TIME
  24. bool "Enable time functions without compiler's libc"
  25. default y
  26. endif
  27. config RT_LIBC_DEFAULT_TIMEZONE
  28. depends on (RT_LIBC_USING_TIME || RT_USING_LIBC)
  29. int "Set the default time zone (UTC+)"
  30. range -12 12
  31. default 8
  32. source "$RTT_DIR/components/libc/posix/Kconfig"
  33. endmenu