diff options
| author | bernard <[email protected]> | 2017-10-13 12:44:54 +0800 |
|---|---|---|
| committer | bernard <[email protected]> | 2017-10-13 12:44:54 +0800 |
| commit | 8bdf993bfc38f9b652a7af60cb071c708ad7dea6 (patch) | |
| tree | e9a17b508d1e348b4b5cfa0b18016a29514e3fc1 /components/libc/KConfig | |
| parent | 444915d1eac7eb1059a1a5b02eb8c0393ce4a79c (diff) | |
[libc] Build correct SConscript file.
Diffstat (limited to 'components/libc/KConfig')
| -rw-r--r-- | components/libc/KConfig | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/components/libc/KConfig b/components/libc/KConfig index 155cb0d700..c245069e30 100644 --- a/components/libc/KConfig +++ b/components/libc/KConfig @@ -1,11 +1,27 @@ menu "libc" config RT_USING_LIBC - bool "Enable libc APIs from toolchain" - default y + bool "Enable libc APIs from toolchain" + default y config RT_USING_PTHREADS - bool "Enable pthreads APIs" - default y + bool "Enable pthreads APIs" + default n + +if RT_USING_LIBC + config RT_USING_POSIX_STDIN + bool "Enable stdin" + select RT_USING_DFS + select RT_USING_DFS_DEVFS + default y + + config RT_USING_POSIX_MMAP + bool "Enable mmap() api" + default n + + config RT_USING_POSIX_TERMIOS + bool "Enable termios feature" + default n +endif endmenu |
