libc/Kconfig: Remove source'ing file twice. Use cleaner dependencies in some menus.

This commit is contained in:
Gregory Nutt 2017-02-10 10:28:34 -06:00
parent 67feda60b2
commit 1ca0437909
3 changed files with 2 additions and 9 deletions

View File

@ -106,8 +106,6 @@ config EOL_IS_EITHER_CRLF
endchoice
source libc/time/Kconfig
config MEMCPY_VIK
bool "Vik memcpy()"
default n

View File

@ -10,9 +10,8 @@ config ARCH_HAVE_TLS
Selected by the configuration system if the current architecture
supports TLS.
if ARCH_HAVE_TLS
menu "Thread Local Storage (TLS)"
depends on ARCH_HAVE_TLS
config TLS
bool "Thread Local Storage (TLS)"
@ -49,4 +48,3 @@ config TLS_NELEM
endif # TLS
endmenu # Thread Local Storage (TLS)
endif # ARCH_HAVE_TLS

View File

@ -3,14 +3,12 @@
# see the file kconfig-language.txt in the NuttX tools repository.
#
if BUILD_PROTECTED || BUILD_KERNEL
menu "User Work Queue Support"
depends on (BUILD_PROTECTED || BUILD_KERNEL) && !DISABLE_SIGNALS
config LIB_USRWORK
bool "User mode worker thread"
default n
depends on !DISABLE_SIGNALS
---help---
User space work queues can also be made available for deferred
processing in the NuttX kernel build.
@ -38,4 +36,3 @@ config LIB_USRWORKSTACKSIZE
endif # LIB_USRWORK
endmenu # User Work Queue Support
endif # BUILD_PROTECTED || BUILD_KERNEL