ignore kernel and base-files depends, both don't install anything into the staging dir
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 3 Oct 2006 12:29:22 +0000 (12:29 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 3 Oct 2006 12:29:22 +0000 (12:29 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4890 3c298f89-4303-0410-b956-a3cf2f4a3e73

scripts/gen_deps.pl

index 0cdcc97..70c07b7 100755 (executable)
@@ -62,6 +62,7 @@ foreach $name (sort {uc($a) cmp uc($b)} keys %pkg) {
                } 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";