Kconfig: Simplify the conditional default statement

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2023-07-16 01:21:32 +08:00 committed by archer
parent d46dce5819
commit 8083b094c3
10 changed files with 15 additions and 30 deletions

View file

@ -18,8 +18,7 @@ menu "NX Server/Device Configuration"
config NXWIDGETS_FLICKERFREE
bool "Enable Flicker Reduction Logic"
default y if NX_LCDDRIVER
default n if !NX_LCDDRIVER
default NX_LCDDRIVER
---help---
Because of their performance an in the manner in which they are
updated, LCDs may be prone to "flicker" in the displays when Widgets

View file

@ -124,8 +124,7 @@ comment "Background Image"
config NXWM_DISABLE_BACKGROUND_IMAGE
bool "Disable Background Image"
default n if !NXWM_DISABLE_MINIMIZE
default y if NXWM_DISABLE_MINIMIZE
default NXWM_DISABLE_MINIMIZE
---help---
Disable support for the "Desktop" background image.
@ -465,8 +464,7 @@ menu "NxWM Touchscreen Configuration"
config NXWM_TOUCHSCREEN
bool "Touchscreen Support"
default y if INPUT
default n if !INPUT
default INPUT
---help---
Define to build in touchscreen support.