From ccf7154f050444cac67abebca86d50632a4e48e9 Mon Sep 17 00:00:00 2001 From: Ouss4 Date: Wed, 12 Aug 2020 15:47:48 +0100 Subject: [PATCH] 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 08055cb2b6..0c9ede0472 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 5220a94dda..5ddf385834 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