aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2017-02-14 12:24:07 +0100
committerFelix Fietkau <nbd@nbd.name>2017-02-14 14:18:35 +0100
commit9dcb921d908e664655e8bde2db64640b4f2d9072 (patch)
tree0d6d7b1d1e05fc3d3cb07b48435492026adc7e78 /scripts
parentf5977c0c0a613dbde8cf8cda909249f5af42b323 (diff)
downloadupstream-9dcb921d908e664655e8bde2db64640b4f2d9072.tar.gz
upstream-9dcb921d908e664655e8bde2db64640b4f2d9072.tar.bz2
upstream-9dcb921d908e664655e8bde2db64640b4f2d9072.zip
build: add buildbot specific config option for setting defaults
This can be used to tweak the buildbot behavior without having to change buildbot's configuration. It will also allow us to add more aggressive clean steps (e.g. on toolchain changes), which would break developers' workflows if enable by default. Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/target-metadata.pl5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/target-metadata.pl b/scripts/target-metadata.pl
index 7f7dc6d4ee..31de3c74c8 100755
--- a/scripts/target-metadata.pl
+++ b/scripts/target-metadata.pl
@@ -203,13 +203,14 @@ endchoice
choice
prompt "Target Profile"
+ default TARGET_MULTI_PROFILE if BUILDBOT
EOF
foreach my $target (@target) {
my $profile = $target->{profiles}->[0];
$profile or next;
print <<EOF;
- default TARGET_$target->{conf}_$profile->{id} if TARGET_$target->{conf}
+ default TARGET_$target->{conf}_$profile->{id} if TARGET_$target->{conf} && !BUILDBOT
EOF
}
@@ -256,9 +257,11 @@ menu "Target Devices"
config TARGET_ALL_PROFILES
bool "Enable all profiles by default"
+ default BUILDBOT
config TARGET_PER_DEVICE_ROOTFS
bool "Use a per-device root filesystem that adds profile packages"
+ default BUILDBOT
help
When disabled, all device packages from all selected devices
will be included in all images by default. (Marked as <*>) You will