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>
config ALL_NONSHARED
bool "Select all target specific packages by default"
config ALL_NONSHARED
bool "Select all target specific packages by default"
+ default ALL || BUILDBOT
config ALL_KMODS
bool "Select all kernel module packages by default"
config ALL_KMODS
bool "Select all kernel module packages by default"
bool "Select all userspace packages by default"
default n
bool "Select all userspace packages by default"
default n
+ config BUILDBOT
+ bool "Set build defaults for automatic builds (e.g. via buildbot)"
+ default n
+ help
+ This option changes several defaults to be more suitable for
+ automatic builds. This includes the following changes:
+ - Deleting build directories after compiling (to save space)
+ - Enabling per-device rootfs support
+ ...
+
config SIGNED_PACKAGES
bool "Cryptographically signed package lists"
default y
config SIGNED_PACKAGES
bool "Cryptographically signed package lists"
default y
bool
prompt "Collect kernel debug information"
select KERNEL_DEBUG_INFO
bool
prompt "Collect kernel debug information"
select KERNEL_DEBUG_INFO
help
This collects debugging symbols from the kernel and all compiled modules.
Useful for release builds, so that kernel issues can be debugged offline
help
This collects debugging symbols from the kernel and all compiled modules.
Useful for release builds, so that kernel issues can be debugged offline
config PER_FEED_REPO_ADD_COMMENTED
bool "Comment out not enabled feeds"
config PER_FEED_REPO_ADD_COMMENTED
bool "Comment out not enabled feeds"
depends on PER_FEED_REPO && PER_FEED_REPO_ADD_DISABLED
help
Add not enabled feeds as commented out source lines to opkg.conf.
depends on PER_FEED_REPO && PER_FEED_REPO_ADD_DISABLED
help
Add not enabled feeds as commented out source lines to opkg.conf.
choice
prompt "Target Profile"
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;
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
config TARGET_ALL_PROFILES
bool "Enable all profiles by default"
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"
config TARGET_PER_DEVICE_ROOTFS
bool "Use a per-device root filesystem that adds profile packages"
help
When disabled, all device packages from all selected devices
will be included in all images by default. (Marked as <*>) You will
help
When disabled, all device packages from all selected devices
will be included in all images by default. (Marked as <*>) You will
config IB
bool "Build the LEDE Image Builder"
depends on !EXTERNAL_TOOLCHAIN
config IB
bool "Build the LEDE Image Builder"
depends on !EXTERNAL_TOOLCHAIN
help
This is essentially a stripped-down version of the buildroot
with precompiled packages, kernel image and image building tools.
help
This is essentially a stripped-down version of the buildroot
with precompiled packages, kernel image and image building tools.
config IB_STANDALONE
bool "Include package repositories"
config IB_STANDALONE
bool "Include package repositories"
depends on IB
help
Disabling this option will cause the ImageBuilder to embed only
depends on IB
help
Disabling this option will cause the ImageBuilder to embed only
config SDK
bool "Build the LEDE SDK"
depends on !EXTERNAL_TOOLCHAIN
config SDK
bool "Build the LEDE SDK"
depends on !EXTERNAL_TOOLCHAIN
help
This is essentially a stripped-down version of the buildroot
with a precompiled toolchain. It can be used to develop and
help
This is essentially a stripped-down version of the buildroot
with a precompiled toolchain. It can be used to develop and