You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2020/08/13 08:48:29 UTC
[incubator-nuttx] branch master updated: drivers: Add the
configuration option to select a board specific folder.
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new ccf7154 drivers: Add the configuration option to select a board specific folder.
ccf7154 is described below
commit ccf7154f050444cac67abebca86d50632a4e48e9
Author: Ouss4 <ab...@gmail.com>
AuthorDate: Wed Aug 12 15:47:48 2020 +0100
drivers: Add the configuration option to select a board specific folder.
---
boards/arm/cxd56xx/drivers/Kconfig | 6 ------
drivers/Kconfig | 4 ++++
2 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/boards/arm/cxd56xx/drivers/Kconfig b/boards/arm/cxd56xx/drivers/Kconfig
index 08055cb..0c9ede0 100644
--- a/boards/arm/cxd56xx/drivers/Kconfig
+++ b/boards/arm/cxd56xx/drivers/Kconfig
@@ -3,12 +3,6 @@
# see the file kconfig-language.txt in the NuttX tools repository.
#
-config SPECIFIC_DRIVERS
- bool "Board specific drivers"
- default n
- ---help---
- Board specific drivers located in each board/driver folder.
-
if SPECIFIC_DRIVERS
source "drivers/platform/audio/Kconfig"
source "drivers/platform/sensors/Kconfig"
diff --git a/drivers/Kconfig b/drivers/Kconfig
index 5220a94..5ddf385 100644
--- a/drivers/Kconfig
+++ b/drivers/Kconfig
@@ -72,6 +72,10 @@ endif # DRVR_WRITEBUFFER || DRVR_READAHEAD
endmenu # Buffering
+config SPECIFIC_DRIVERS
+ bool "Board Specific drivers"
+ default n
+
source drivers/crypto/Kconfig
source drivers/loop/Kconfig
source drivers/can/Kconfig