summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-07-22 14:29:32 +0200
committerFelix Fietkau <nbd@nbd.name>2016-07-29 10:18:26 +0200
commitf4ce133ccf3ac4d4f520399feba75aaee08317af (patch)
treefe685535d9d6d1f827f6156b2511550d2bd33fbe /scripts
parent76341cfc5f71fb3658535bc21b001399a84f8816 (diff)
downloadmaster-31e0f0ae-f4ce133ccf3ac4d4f520399feba75aaee08317af.tar.gz
master-31e0f0ae-f4ce133ccf3ac4d4f520399feba75aaee08317af.tar.bz2
master-31e0f0ae-f4ce133ccf3ac4d4f520399feba75aaee08317af.zip
build: add option to enable all profiles
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/target-metadata.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/target-metadata.pl b/scripts/target-metadata.pl
index 7dd782a6c2..7e7d26bac9 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) {