[source] config: make CONFIG_ALL_* select other CONIFG_ALL_* options

LEDE Commits lede-commits at lists.infradead.org
Sat Aug 26 06:00:05 PDT 2017


hauke pushed a commit to source.git, branch master:
https://git.lede-project.org/589621b1c03c25e6436d30aaa508aef2484244a6

commit 589621b1c03c25e6436d30aaa508aef2484244a6
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Sat Jul 15 22:54:33 2017 +0200

    config: make CONFIG_ALL_* select other CONIFG_ALL_* options
    
    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 CONFIG_ALL_KMODS,
    CONFIG_ALL_NONSHARED or CONFIG_ALL and CONFIG_RTC_SUPPORT are selected
    like it is done by the build bots for targets with rtc support.
    
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
    Acked-by: Jo-Philipp Wich <jo at mein.io>
---
 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 f3f1930..f9987fc 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)"



More information about the lede-commits mailing list