summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-02-22 03:56:54 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-02-22 03:56:54 +0000
commitccd12544f65912a0c2016ae4c94528e7ad84eef1 (patch)
treea1f15acdc8b3d0a23f50dd32fdae04d62f4ae42f /scripts
parent1a6e4acabc01ec47d1cbb9f9d43d1a44e44040cc (diff)
downloadmtk-20170518-ccd12544f65912a0c2016ae4c94528e7ad84eef1.zip
mtk-20170518-ccd12544f65912a0c2016ae4c94528e7ad84eef1.tar.gz
mtk-20170518-ccd12544f65912a0c2016ae4c94528e7ad84eef1.tar.bz2
disable the image builder in menuconfig for profiles with custom kernel configs
SVN-Revision: 6341
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/metadata.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/metadata.pl b/scripts/metadata.pl
index d27cd8e..4a05628 100755
--- a/scripts/metadata.pl
+++ b/scripts/metadata.pl
@@ -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;