don't recreate the resolv.conf file from the dhcp script if no dhcp server is supplie...
[openwrt.git] / scripts / gen_deps.pl
index 32bf1f5..70c07b7 100755 (executable)
@@ -1,4 +1,11 @@
 #!/usr/bin/perl
+# 
+# Copyright (C) 2006 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
 use strict;
 
 my $name;
@@ -52,9 +59,10 @@ foreach $name (sort {uc($a) cmp uc($b)} keys %pkg) {
                my $idx;
                if (defined $pkg{$dep}->{src}) {
                        ($pkg{$name}->{src} ne $pkg{$dep}->{src}) and $idx = $pkg{$dep}->{src};
-               } elsif (defined $pkg{$dep}) {
+               } elsif (defined($pkg{$dep}) && !$options{SDK}) {
                        $idx = $dep;
                }
+               undef $idx if $idx =~ /^(kernel)|(base-files)$/;
                if ($idx) {
                        next if $dep{$pkg{$name}->{src}."->".$idx};
                        $depline .= " $idx\-compile";
This page took 0.035443 seconds and 4 git commands to generate.