projects
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f93441f
)
metadata.pl: suppress profile config.in code for targets that have subtargets (fixes...
author
nbd
<nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 1 Jun 2014 15:18:47 +0000
(15:18 +0000)
committer
nbd
<nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 1 Jun 2014 15:18:47 +0000
(15:18 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40896
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
scripts/metadata.pl
patch
|
blob
|
history
diff --git
a/scripts/metadata.pl
b/scripts/metadata.pl
index
f075525
..
041a250
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',