summaryrefslogtreecommitdiff
path: root/components/libc/Kconfig
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2017-11-30 20:12:53 +0800
committerBernard Xiong <[email protected]>2017-11-30 20:12:53 +0800
commit7bc87e4ae85b41305db2291a5755d8ee270b5a55 (patch)
tree8728795ecd30c05fe9bc96fc79090a85295bf4bd /components/libc/Kconfig
parent89afad784ce577b5be48d032c2c3881836b59d15 (diff)
[Kconfig] Rename all of KConfig files to 'Kconfig'
Diffstat (limited to 'components/libc/Kconfig')
-rw-r--r--components/libc/Kconfig29
1 files changed, 29 insertions, 0 deletions
diff --git a/components/libc/Kconfig b/components/libc/Kconfig
new file mode 100644
index 0000000000..79bc78d205
--- /dev/null
+++ b/components/libc/Kconfig
@@ -0,0 +1,29 @@
+menu "POSIX layer and C standard library"
+
+config RT_USING_LIBC
+ bool "Enable libc APIs from toolchain"
+ default y
+
+config RT_USING_PTHREADS
+ bool "Enable pthreads APIs"
+ default n
+
+if RT_USING_LIBC
+ config RT_USING_POSIX
+ bool "Enable POSIX layer for poll/select, stdin etc"
+ select RT_USING_DFS
+ select RT_USING_DFS_DEVFS
+ default y
+
+ if RT_USING_POSIX
+ config RT_USING_POSIX_MMAP
+ bool "Enable mmap() api"
+ default n
+
+ config RT_USING_POSIX_TERMIOS
+ bool "Enable termios feature"
+ default n
+ endif
+endif
+
+endmenu