[Kconfig] Decompose Kconfig, now each module has its own Kconfig

Which is better for versioning and decomposability
This commit is contained in:
Peter van der Perk
2021-10-07 10:09:01 -04:00
committed by Daniel Agar
parent 094d3557d7
commit d5e3e9a7bc
203 changed files with 1015 additions and 1127 deletions
+7 -51
View File
@@ -1,53 +1,9 @@
menuconfig DRIVERS_BAROMETER_BMP280
bool "bmp280"
menuconfig DRIVERS_BAROMETER
bool "barometer"
default n
---help---
Enable support for bmp280
menuconfig DRIVERS_BAROMETER_BMP388
bool "bmp388"
default n
---help---
Enable support for bmp388
menuconfig DRIVERS_BAROMETER_DPS310
bool "dps310"
default n
---help---
Enable support for dps310
menuconfig DRIVERS_BAROMETER_LPS22HB
bool "lps22hb"
default n
---help---
Enable support for lps22hb
menuconfig DRIVERS_BAROMETER_LPS25H
bool "lps25h"
default n
---help---
Enable support for lps25h
menuconfig DRIVERS_BAROMETER_LPS33HW
bool "lps33hw"
default n
---help---
Enable support for lps33hw
menuconfig DRIVERS_BAROMETER_MPL3115A2
bool "mpl3115a2"
default n
---help---
Enable support for mpl3115a2
menuconfig DRIVERS_BAROMETER_MS5611
bool "ms5611"
default n
---help---
Enable support for ms5611
menuconfig DRIVERS_BAROMETER_TCBP001TA
bool "tcbp001ta"
default n
---help---
Enable support for tcbp001ta
Enable support for barometer
if DRIVERS_BAROMETER
rsource "*/Kconfig"
endif #DRIVERS_BAROMETER
+5
View File
@@ -0,0 +1,5 @@
menuconfig DRIVERS_BAROMETER_BMP280
bool "bmp280"
default n
---help---
Enable support for bmp280
+5
View File
@@ -0,0 +1,5 @@
menuconfig DRIVERS_BAROMETER_BMP388
bool "bmp388"
default n
---help---
Enable support for bmp388
+5
View File
@@ -0,0 +1,5 @@
menuconfig DRIVERS_BAROMETER_DPS310
bool "dps310"
default n
---help---
Enable support for dps310
+5
View File
@@ -0,0 +1,5 @@
menuconfig DRIVERS_BAROMETER_LPS22HB
bool "lps22hb"
default n
---help---
Enable support for lps22hb
+5
View File
@@ -0,0 +1,5 @@
menuconfig DRIVERS_BAROMETER_LPS25H
bool "lps25h"
default n
---help---
Enable support for lps25h
+5
View File
@@ -0,0 +1,5 @@
menuconfig DRIVERS_BAROMETER_LPS33HW
bool "lps33hw"
default n
---help---
Enable support for lps33hw
+5
View File
@@ -0,0 +1,5 @@
menuconfig DRIVERS_BAROMETER_MPL3115A2
bool "mpl3115a2"
default n
---help---
Enable support for mpl3115a2
+5
View File
@@ -0,0 +1,5 @@
menuconfig DRIVERS_BAROMETER_MS5611
bool "ms5611"
default n
---help---
Enable support for ms5611
+5
View File
@@ -0,0 +1,5 @@
menuconfig DRIVERS_BAROMETER_TCBP001TA
bool "tcbp001ta"
default n
---help---
Enable support for tcbp001ta