subsys: kconfig: Remove 'default n' properties and clean up a bit
Bool symbols implicitly default to 'n'. A 'default n' can make sense e.g. in a Kconfig.defconfig file, if you want to override a 'default y' on the base definition of the symbol. It isn't used like that on any of these symbols though. Remove some 'default ""' properties on string symbols too. Also make definitions more consistent by converting some config FOO <type> prompt "foo" definitions to a shorter form: config FOO <type> "foo" This shorthand works for int/hex/string symbols too, not just for bool symbols. Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
This commit is contained in:
parent
15bc615b5b
commit
1073882998
48 changed files with 117 additions and 416 deletions
|
@ -5,7 +5,6 @@
|
|||
|
||||
config HTTP
|
||||
bool "HTTP support"
|
||||
default n
|
||||
help
|
||||
This option enables the HTTP library
|
||||
|
||||
|
@ -13,7 +12,6 @@ if HTTP
|
|||
|
||||
config HTTP_SERVER
|
||||
bool "HTTP server support"
|
||||
default n
|
||||
select HTTP_PARSER
|
||||
select HTTP_PARSER_URL
|
||||
select NET_APP_SERVER
|
||||
|
@ -22,7 +20,6 @@ config HTTP_SERVER
|
|||
|
||||
config HTTP_CLIENT
|
||||
bool "HTTP client support"
|
||||
default n
|
||||
select HTTP_PARSER
|
||||
select HTTP_PARSER_URL
|
||||
select NET_APP_CLIENT
|
||||
|
@ -41,7 +38,6 @@ config HTTP_HEADERS
|
|||
|
||||
config HTTPS
|
||||
bool "HTTPS support"
|
||||
default n
|
||||
select NET_APP_TLS
|
||||
help
|
||||
Enables HTTPS support.
|
||||
|
@ -73,14 +69,12 @@ config HTTP_CLIENT_NETWORK_TIMEOUT
|
|||
|
||||
config NET_DEBUG_HTTP
|
||||
bool "Debug HTTP"
|
||||
default n
|
||||
depends on HTTP && NET_LOG
|
||||
help
|
||||
Enables HTTP output debug messages
|
||||
|
||||
config NET_DEBUG_HTTP_CONN
|
||||
bool "Debug HTTP connections"
|
||||
default n
|
||||
depends on HTTP && NET_LOG
|
||||
help
|
||||
Enables HTTP connection tracking.
|
||||
|
@ -89,7 +83,6 @@ endif # HTTP
|
|||
|
||||
config HTTP_PARSER
|
||||
bool "HTTP Parser support"
|
||||
default n
|
||||
select HTTP_PARSER_URL
|
||||
help
|
||||
This option enables the http_parser library from nodejs.
|
||||
|
@ -98,7 +91,6 @@ config HTTP_PARSER
|
|||
|
||||
config HTTP_PARSER_URL
|
||||
bool "HTTP Parser for URL support"
|
||||
default n
|
||||
help
|
||||
This option enables the URI parser library based on source from nodejs.
|
||||
This parser requires some string-related routines commonly
|
||||
|
@ -106,7 +98,6 @@ config HTTP_PARSER_URL
|
|||
|
||||
config HTTP_PARSER_STRICT
|
||||
bool "HTTP strict parsing"
|
||||
default n
|
||||
depends on (HTTP_PARSER || HTTP_PARSER_URL)
|
||||
help
|
||||
This option enables the strict parsing option
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue