libc/Kconfig: Use menus vs. comments to better organize the C library menus

This commit is contained in:
Gregory Nutt
2017-02-10 10:04:56 -06:00
parent de1b68dc4e
commit 67feda60b2
16 changed files with 42 additions and 194 deletions
+2 -5
View File
@@ -3,7 +3,7 @@
# see the file kconfig-language.txt in the NuttX tools repository.
#
comment "Random Number Generation"
menu "stdlib Options"
config LIB_RAND_ORDER
int "Order of the random number generate"
@@ -13,8 +13,6 @@ config LIB_RAND_ORDER
The order of the random number generator. 1=fast but very bad random
numbers, 3=slow but very good random numbers.
comment "Environment Variables"
config LIB_HOMEDIR
string "Home directory"
default "/"
@@ -22,8 +20,6 @@ config LIB_HOMEDIR
---help---
The home directory to use with operations like such as 'cd ~'
comment "Temporary Files"
config LIBC_TMPDIR
string "Temporary file directory"
default "/tmp"
@@ -45,3 +41,4 @@ config LIBC_MAX_TMPFILE
maximum size of that last filename. This size is the size of the full
file path.
endmenu # stdlib Options