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

Hauke Mehrtens hauke at hauke-m.de
Fri Aug 4 06:20:19 PDT 2017


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 at hauke-m.de>
---
 config/Config-build.in | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

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)"
-- 
2.11.0




More information about the Lede-dev mailing list