projects
/
openwrt
/
staging
/
florian.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf43c8e
)
metadata.pl: suppress profile config.in code for targets that have subtargets (fixes...
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 1 Jun 2014 15:18:47 +0000
(15:18 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 1 Jun 2014 15:18:47 +0000
(15:18 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40896
scripts/metadata.pl
patch
|
blob
|
history
diff --git
a/scripts/metadata.pl
b/scripts/metadata.pl
index f075525e1dadea8256844edede19a3a0f12afc22..041a250cdbe6767f290d046f583bcb5732bb89de 100755
(executable)
--- a/
scripts/metadata.pl
+++ b/
scripts/metadata.pl
@@
-75,7
+75,10
@@
sub parse_target_metadata() {
}
close FILE;
foreach my $target (@target) {
- next if @{$target->{subtargets}} > 0;
+ if (@{$target->{subtargets}} > 0) {
+ $target->{profiles} = [];
+ next;
+ }
@{$target->{profiles}} > 0 or $target->{profiles} = [
{
id => 'Default',