Simplify DEFAULT_SMALL usage in Kconfig
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
36909f5f6c
commit
da954956e7
4 changed files with 7 additions and 14 deletions
|
@ -392,8 +392,7 @@ menu "GPIO Interrupt Configuration"
|
|||
|
||||
config NRF52_PER_PIN_INTERRUPTS
|
||||
bool "Per-pin interrupt callbacks"
|
||||
default n if DEFAULT_SMALL
|
||||
default y if !DEFAULT_SMALL
|
||||
default !DEFAULT_SMALL
|
||||
depends on NRF52_GPIOTE
|
||||
---help---
|
||||
The GPIOTE peripheral supports a limited number of channels which can
|
||||
|
|
|
@ -66,8 +66,7 @@ config FS_NEPOLL_DESCRIPTORS
|
|||
|
||||
config DISABLE_PSEUDOFS_OPERATIONS
|
||||
bool "Disable pseudo-filesystem operations"
|
||||
default y if DEFAULT_SMALL
|
||||
default n if !DEFAULT_SMALL
|
||||
default DEFAULT_SMALL
|
||||
---help---
|
||||
Disable certain operations on pseudo-file systems include mkdir,
|
||||
rmdir, unlink, and rename. These are necessary for the logical
|
||||
|
|
|
@ -60,8 +60,7 @@ config LIBC_FLOATINGPOINT
|
|||
|
||||
config LIBC_LONG_LONG
|
||||
bool "Enable long long support in printf"
|
||||
default y if !DEFAULT_SMALL
|
||||
default n if DEFAULT_SMALL
|
||||
default !DEFAULT_SMALL
|
||||
---help---
|
||||
Enables support for long long formats in printf, sscanf, etc. is
|
||||
enabled. This is enabled by default but if you are trying to
|
||||
|
|
|
@ -17,8 +17,7 @@ if DISABLE_OS_API
|
|||
|
||||
config DISABLE_POSIX_TIMERS
|
||||
bool "Disable POSIX timers"
|
||||
default y if DEFAULT_SMALL
|
||||
default n if !DEFAULT_SMALL
|
||||
default DEFAULT_SMALL
|
||||
---help---
|
||||
Disable support for the the entire POSIX timer family
|
||||
including timer_create(), timer_gettime(), timer_settime(),
|
||||
|
@ -29,18 +28,15 @@ config DISABLE_POSIX_TIMERS
|
|||
|
||||
config DISABLE_PTHREAD
|
||||
bool "Disable pthread support"
|
||||
default y if DEFAULT_SMALL
|
||||
default n if !DEFAULT_SMALL
|
||||
default DEFAULT_SMALL
|
||||
|
||||
config DISABLE_MQUEUE
|
||||
bool "Disable POSIX message queue support"
|
||||
default y if DEFAULT_SMALL
|
||||
default n if !DEFAULT_SMALL
|
||||
default DEFAULT_SMALL
|
||||
|
||||
config DISABLE_ENVIRON
|
||||
bool "Disable environment variable support"
|
||||
default y if DEFAULT_SMALL
|
||||
default n if !DEFAULT_SMALL
|
||||
default DEFAULT_SMALL
|
||||
|
||||
endif # DISABLE_OS_API
|
||||
|
||||
|
|
Loading…
Reference in a new issue