summaryrefslogtreecommitdiff
path: root/scripts/metadata.pl
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-10-21 06:44:06 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-10-21 06:44:06 +0000
commitaef9b313b10207e649778819ffa0b886fed3d447 (patch)
treebc856d0da14eac08a892ce789b0e6f73ff3fbec9 /scripts/metadata.pl
parentf30ff914a6529de3563d0e6cb476e830e38a383c (diff)
downloadmtk-20170518-aef9b313b10207e649778819ffa0b886fed3d447.zip
mtk-20170518-aef9b313b10207e649778819ffa0b886fed3d447.tar.gz
mtk-20170518-aef9b313b10207e649778819ffa0b886fed3d447.tar.bz2
remove the dummy profile that was created on targets that have subtargets
SVN-Revision: 9383
Diffstat (limited to 'scripts/metadata.pl')
-rwxr-xr-xscripts/metadata.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/metadata.pl b/scripts/metadata.pl
index 7b3b74b..f84bd46 100755
--- a/scripts/metadata.pl
+++ b/scripts/metadata.pl
@@ -72,6 +72,7 @@ sub parse_target_metadata() {
}
close FILE;
foreach my $target (@target) {
+ next if @{$target->{subtargets}} > 0;
@{$target->{profiles}} > 0 or $target->{profiles} = [
{
id => 'Default',