aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/metadata.pl
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-01-20 12:35:00 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-01-20 12:35:00 +0000
commit599cf4f524016ebd16882f7ec64e2aff325d3b82 (patch)
tree8c186144c966717fe2db431c630ff8dcdd16d91b /scripts/metadata.pl
parentfe2cb26703de11356d8a3089dad47a76eff9337f (diff)
downloadupstream-599cf4f524016ebd16882f7ec64e2aff325d3b82.tar.gz
upstream-599cf4f524016ebd16882f7ec64e2aff325d3b82.tar.bz2
upstream-599cf4f524016ebd16882f7ec64e2aff325d3b82.zip
Add WL-700gE support (based on work by jr)
Includes kernel/diag patch and a new target profile git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6142 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'scripts/metadata.pl')
-rwxr-xr-xscripts/metadata.pl6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/metadata.pl b/scripts/metadata.pl
index 396954a2c7..ded38058a4 100755
--- a/scripts/metadata.pl
+++ b/scripts/metadata.pl
@@ -297,8 +297,12 @@ config LINUX_$target->{conf}_$profile->{id}
bool "$profile->{name}"
depends LINUX_$target->{conf}
EOF
+ my %pkgs;
foreach my $pkg (@{$target->{packages}}, @{$profile->{packages}}) {
- print "\tselect DEFAULT_$pkg\n";
+ $pkgs{$pkg} = 1;
+ }
+ foreach my $pkg (keys %pkgs) {
+ print "\tselect DEFAULT_$pkg\n" unless ($pkg =~ /^-/ or $pkgs{"-$pkg"});
}
print "\n";
}