drivers: Add the configuration option to select a board specific folder.

This commit is contained in:
Ouss4 2020-08-12 15:47:48 +01:00 committed by Xiang Xiao
parent c101076704
commit ccf7154f05
2 changed files with 4 additions and 6 deletions

View File

@ -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"

View File

@ -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