lib: move ring_buffer Kconfig to lib/, cleanup lib/Kconfig

* ring_bufffer is in lib, so move the Kconfig out of the kernel.
* move one Kconfig used for json to lib/Kconfig alongside other
  Kconfigs.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2018-02-25 21:54:04 -05:00 committed by Anas Nashif
commit bb64ec2921
3 changed files with 19 additions and 29 deletions

View file

@ -6,4 +6,22 @@
source "lib/libc/Kconfig"
source "lib/json/Kconfig"
menu "Additional libraries"
config JSON_LIBRARY
bool
default N
prompt "Build JSON library"
help
Build a minimal JSON parsing/encoding library. Used by sample
applications such as the NATS client.
config RING_BUFFER
bool
prompt "Enable ring buffers"
default n
help
Enable usage of ring buffers. This is similar to kernel FIFOs but ring
buffers manage their own buffer memory and can store arbitrary data.
For optimal performance, use buffer sizes that are a power of 2.
endmenu