diff mbox

[LEDE-DEV] config: make CONFIG_ALL_* select other CONIFG_ALL_* options

Message ID 20170804132019.24414-1-hauke@hauke-m.de
State Accepted
Delegated to: Hauke Mehrtens
Headers show

Commit Message

Hauke Mehrtens Aug. 4, 2017, 1:20 p.m. UTC
Select the other CONFIG_ALL_* options in the hierarchy when the master
option is selected. Currently CONFIG_ALL_KMODS is not selected when the
build bot selects CONFIG_ALL_NONSHARED for example.

Now the rtc kmods should get build when are selected as m if
CONFIG_ALL_KMODS and CONFIG_RTC_SUPPORT are set.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
---
 config/Config-build.in | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
diff mbox

Patch

diff --git a/config/Config-build.in b/config/Config-build.in
index f3f1930bb8..f9987fcd2b 100644
--- a/config/Config-build.in
+++ b/config/Config-build.in
@@ -9,15 +9,16 @@  menu "Global build settings"
 
 	config ALL_NONSHARED
 		bool "Select all target specific packages by default"
-		default ALL || BUILDBOT
+		select ALL_KMODS
+		default BUILDBOT
 
 	config ALL_KMODS
 		bool "Select all kernel module packages by default"
-		default ALL
 
 	config ALL
 		bool "Select all userspace packages by default"
-		default n
+		select ALL_KMODS
+		select ALL_NONSHARED
 
 	config BUILDBOT
 		bool "Set build defaults for automatic builds (e.g. via buildbot)"