Kbuild: Kconfig source standard for drivers.

This commit standardize the Kconfig inclusion.
Selective sourcing of Kconfig files create conflict when merging
different configuration files (.config files).
Instead, now each kconfig symbols is dependant of its specific
DRV_* driver ksymbol.

Change-Id: I3d20d108a83f00d34067dc334758fd57e51feecf
Signed-off-by: Juan Manuel Cruz <juan.m.cruz.alcaraz@linux.intel.com>
This commit is contained in:
Juan Manuel Cruz 2015-05-20 15:05:19 -05:00 committed by Anas Nashif
commit c4535eeddf
4 changed files with 7 additions and 7 deletions

View file

@ -38,9 +38,7 @@ config DRV_CONSOLE
help
This option enables the UART console driver.
if DRV_CONSOLE
source "drivers/console/Kconfig"
endif
config DRV_SERIAL
bool
@ -48,9 +46,7 @@ config DRV_SERIAL
help
This option enables the serial driver.
if DRV_SERIAL
source "drivers/serial/Kconfig"
endif
config DRV_TIMER
bool
@ -58,9 +54,7 @@ config DRV_TIMER
help
This option enables the timer driver.
if DRV_TIMER
source "drivers/timer/Kconfig"
endif
config DRV_INTCTL
bool