Kconfig: Change !BUILD_PROTECTED && !BUILD_KERNEL to BUILD_FLAT

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2020-04-29 17:14:04 +08:00 committed by patacongo
parent 679896328d
commit dcc620e6b8
6 changed files with 7 additions and 7 deletions

View File

@ -6,7 +6,7 @@
config EXAMPLES_FLASH_TEST
tristate "SMART FLASH block device test"
default n
depends on (!BUILD_PROTECTED && !BUILD_KERNEL) && MTD_SMART
depends on BUILD_FLAT && MTD_SMART
---help---
This logic performs a SMART flash block device test. This test
performs a sector allocate, read, write, free and garbage collection

View File

@ -77,8 +77,8 @@ config EXAMPLES_I2SCHAR_BUFSIZE
config EXAMPLES_I2SCHAR_DEVINIT
bool "Architecture-specific device initialization"
default 256
depends on !BUILD_PROTECTED && !BUILD_KERNEL
default n
depends on BUILD_FLAT
---help---
Define if architecture-specific I2S device initialize is available.
If defined, the platform specific code must provide a function

View File

@ -6,7 +6,7 @@
config EXAMPLES_MTDPART
tristate "MTD partition test"
default n
depends on MTD_PARTITION && !BUILD_PROTECTED && !BUILD_KERNEL
depends on MTD_PARTITION && BUILD_FLAT
---help---
Enable the MTD partition test example.

View File

@ -6,7 +6,7 @@
config EXAMPLES_MTDRWB
tristate "MTD R/W buffer test"
default n
depends on (MTD_WRBUFFER || MTD_READAHEAD) && !BUILD_PROTECTED && !BUILD_KERNEL
depends on (MTD_WRBUFFER || MTD_READAHEAD) && BUILD_FLAT
---help---
Enable the MTD R/W buffer test example.

View File

@ -6,7 +6,7 @@
menuconfig SYSTEM_COMPOSITE
tristate "USB Composite Device Commands"
default n
depends on LIB_BOARDCTL && USBDEV_COMPOSITE && !BUILD_PROTECTED && !BUILD_KERNEL
depends on LIB_BOARDCTL && USBDEV_COMPOSITE && BUILD_FLAT
select BOARDCTL_USBDEVCTRL
---help---
Enable the USB composite class controls. These controls include:

View File

@ -6,7 +6,7 @@
menuconfig SYSTEM_USBMSC
tristate "USB Mass Storage Device Commands"
default n
depends on LIB_BOARDCTL && USBMSC && !BUILD_PROTECTED && !BUILD_KERNEL
depends on LIB_BOARDCTL && USBMSC && BUILD_FLAT
select BOARDCTL_USBDEVCTRL
---help---
Enable the USB mass storage class controls. These controls include: