[source] build: add option to enable all profiles
LEDE Commits
lede-commits at lists.infradead.org
Fri Jul 29 04:38:10 PDT 2016
nbd pushed a commit to source.git, branch master:
https://git.lede-project.org/?p=source.git;a=commitdiff;h=f4ce133ccf3ac4d4f520399feba75aaee08317af
commit f4ce133ccf3ac4d4f520399feba75aaee08317af
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Fri Jul 22 14:29:32 2016 +0200
build: add option to enable all profiles
Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
scripts/target-metadata.pl | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/scripts/target-metadata.pl b/scripts/target-metadata.pl
index 7dd782a..7e7d26b 100755
--- a/scripts/target-metadata.pl
+++ b/scripts/target-metadata.pl
@@ -250,6 +250,9 @@ endchoice
menu "Target Devices"
depends on TARGET_MULTI_PROFILE
+ config TARGET_ALL_PROFILES
+ bool "Enable all profiles by default"
+
config TARGET_PER_DEVICE_ROOTFS
bool "Use a per-device root filesystem that adds profile packages"
@@ -262,6 +265,7 @@ EOF
config TARGET_DEVICE_$target->{conf}_$profile->{id}
bool "$profile->{name}"
depends on TARGET_$target->{conf}
+ default y if TARGET_ALL_PROFILES
EOF
my @pkglist = merge_package_lists($target->{packages}, $profile->{packages});
foreach my $pkg (@pkglist) {
More information about the lede-commits
mailing list