mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 06:57:57 +00:00
remove the dummy profile that was created on targets that have subtargets
SVN-Revision: 9383
This commit is contained in:
parent
f30ff914a6
commit
aef9b313b1
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user