aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
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
commit2fb06d46d9c5a8fc6158bf88f985743e60be3afb (patch)
treea219b0c6e587ba0b08a50cf43188eb3df401f888 /scripts
parent297f2368ba6d2aa7da2fcff19eae0e211720878e (diff)
downloadupstream-2fb06d46d9c5a8fc6158bf88f985743e60be3afb.tar.gz
upstream-2fb06d46d9c5a8fc6158bf88f985743e60be3afb.tar.bz2
upstream-2fb06d46d9c5a8fc6158bf88f985743e60be3afb.zip
Add WL-700gE support (based on work by jr) Includes kernel/diag patch and a new target profile
SVN-Revision: 6142
Diffstat (limited to 'scripts')
-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";
}