disable the image builder in menuconfig for profiles with custom kernel configs

SVN-Revision: 6341
This commit is contained in:
Felix Fietkau
2007-02-22 03:56:54 +00:00
parent 1a6e4acabc
commit ccd12544f6
3 changed files with 6 additions and 0 deletions

View File

@@ -53,6 +53,7 @@ sub parse_target_metadata() {
}
$profile->{desc} = $desc;
};
/^Target-Profile-Kconfig:/ and $profile->{kconfig} = 1;
}
foreach my $target (@target) {
@{$target->{profiles}} > 0 or $target->{profiles} = [
@@ -298,6 +299,7 @@ config LINUX_$target->{conf}_$profile->{id}
bool "$profile->{name}"
depends LINUX_$target->{conf}
EOF
$profile->{kconfig} and print "\tselect PROFILE_KCONFIG\n";
my %pkgs;
foreach my $pkg (@{$target->{packages}}, @{$profile->{packages}}) {
$pkgs{$pkg} = 1;