From d79f8909c1bde8376c82537798ce363797033cf9 Mon Sep 17 00:00:00 2001
From: Daniel Dickinson <lede@daniel.thecshore.com>
Date: Mon, 23 May 2016 06:15:20 -0400
Subject: [PATCH] sdk: Allow to change ALL* package settings in SDK

It is desirable to be able to use ./scripts/feeds install -a
when in the SDK without being forced to build a great number
of packages that are not actually wanted.

We therefore add the option of changing the various ALL package
build options so that we can default to packages not being built
unless we select them.

Signed-off-by: Daniel Dickinson <lede@daniel.thecshore.com>
---
 target/sdk/files/Config.in | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/target/sdk/files/Config.in b/target/sdk/files/Config.in
index 6cb3fe8aef..c7bc41956e 100644
--- a/target/sdk/files/Config.in
+++ b/target/sdk/files/Config.in
@@ -1,3 +1,19 @@
+menu "Global build settings"
+
+	config ALL_NONSHARED
+		bool "Select all target specific packages by default"
+		default ALL
+
+	config ALL_KMODS
+		bool "Select all kernel module packages by default"
+		default ALL
+
+	config ALL
+		bool "Select all userspace packages by default"
+		default y
+
+endmenu
+
 config MODULES
 	bool
 	default y
-- 
GitLab