You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by gn...@apache.org on 2020/04/29 13:23:57 UTC
[incubator-nuttx-apps] branch master updated: Kconfig: Change
!BUILD_PROTECTED && !BUILD_KERNEL to BUILD_FLAT
This is an automated email from the ASF dual-hosted git repository.
gnutt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git
The following commit(s) were added to refs/heads/master by this push:
new dcc620e Kconfig: Change !BUILD_PROTECTED && !BUILD_KERNEL to BUILD_FLAT
dcc620e is described below
commit dcc620e6b8418f81615f7875db56ed443ac642d6
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Wed Apr 29 17:14:04 2020 +0800
Kconfig: Change !BUILD_PROTECTED && !BUILD_KERNEL to BUILD_FLAT
Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
examples/flash_test/Kconfig | 2 +-
examples/i2schar/Kconfig | 4 ++--
examples/mtdpart/Kconfig | 2 +-
examples/mtdrwb/Kconfig | 2 +-
system/composite/Kconfig | 2 +-
system/usbmsc/Kconfig | 2 +-
6 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/examples/flash_test/Kconfig b/examples/flash_test/Kconfig
index 98cd420..8490abe 100644
--- a/examples/flash_test/Kconfig
+++ b/examples/flash_test/Kconfig
@@ -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
diff --git a/examples/i2schar/Kconfig b/examples/i2schar/Kconfig
index 00086d2..fbfc885 100644
--- a/examples/i2schar/Kconfig
+++ b/examples/i2schar/Kconfig
@@ -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
diff --git a/examples/mtdpart/Kconfig b/examples/mtdpart/Kconfig
index d653d13..eeec4d9 100644
--- a/examples/mtdpart/Kconfig
+++ b/examples/mtdpart/Kconfig
@@ -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.
diff --git a/examples/mtdrwb/Kconfig b/examples/mtdrwb/Kconfig
index 1ce5949..9a439ef 100644
--- a/examples/mtdrwb/Kconfig
+++ b/examples/mtdrwb/Kconfig
@@ -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.
diff --git a/system/composite/Kconfig b/system/composite/Kconfig
index 5d9a6c3..c8e5bbb 100644
--- a/system/composite/Kconfig
+++ b/system/composite/Kconfig
@@ -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:
diff --git a/system/usbmsc/Kconfig b/system/usbmsc/Kconfig
index 68f56dd..15b3751 100644
--- a/system/usbmsc/Kconfig
+++ b/system/usbmsc/Kconfig
@@ -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: