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
}
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
EOF
foreach my $target (@target) {
- my $profiles = $target->{profiles};
- foreach my $profile (@{$target->{profiles}}) {
+ my @profiles = sort {
+ my $x = $a->{name};
+ my $y = $b->{name};
+ "\L$x" cmp "\L$y";
+ } @{$target->{profiles}};
+ foreach my $profile (@profiles) {
next unless $profile->{id} =~ /^DEVICE_/;
print <<EOF;
menuconfig TARGET_DEVICE_$target->{conf}_$profile->{id}