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 endchoice
source libc/time/Kconfig
config MEMCPY_VIK config MEMCPY_VIK
bool "Vik memcpy()" bool "Vik memcpy()"
default n default n

View File

@ -10,9 +10,8 @@ config ARCH_HAVE_TLS
Selected by the configuration system if the current architecture Selected by the configuration system if the current architecture
supports TLS. supports TLS.
if ARCH_HAVE_TLS
menu "Thread Local Storage (TLS)" menu "Thread Local Storage (TLS)"
depends on ARCH_HAVE_TLS
config TLS config TLS
bool "Thread Local Storage (TLS)" bool "Thread Local Storage (TLS)"
@ -49,4 +48,3 @@ config TLS_NELEM
endif # TLS endif # TLS
endmenu # Thread Local Storage (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. # see the file kconfig-language.txt in the NuttX tools repository.
# #
if BUILD_PROTECTED || BUILD_KERNEL
menu "User Work Queue Support" menu "User Work Queue Support"
depends on (BUILD_PROTECTED || BUILD_KERNEL) && !DISABLE_SIGNALS
config LIB_USRWORK config LIB_USRWORK
bool "User mode worker thread" bool "User mode worker thread"
default n default n
depends on !DISABLE_SIGNALS
---help--- ---help---
User space work queues can also be made available for deferred User space work queues can also be made available for deferred
processing in the NuttX kernel build. processing in the NuttX kernel build.
@ -38,4 +36,3 @@ config LIB_USRWORKSTACKSIZE
endif # LIB_USRWORK endif # LIB_USRWORK
endmenu # User Work Queue Support endmenu # User Work Queue Support
endif # BUILD_PROTECTED || BUILD_KERNEL