scripts/metadata.pl: emit dependencies for package/kernel/linux
authorFelix Fietkau <nbd@openwrt.org>
Fri, 19 Jul 2013 12:49:21 +0000 (12:49 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 19 Jul 2013 12:49:21 +0000 (12:49 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37433

scripts/metadata.pl

index f26d8fa5e5db6cfb104f5f2ac29150d9b050bd4d..bcc3700d42f6d78778dfedaf6305d86d10e9ae68 100755 (executable)
@@ -762,7 +762,7 @@ sub gen_package_mk() {
                                        $idx = $subdir{$dep}.$dep;
                                }
                                $idx .= $suffix;
-                               undef $idx if $idx =~ /^(kernel\/linux)|(base-files)$/;
+                               undef $idx if $idx eq 'base-files';
                                if ($idx) {
                                        my $depline;
                                        next if $pkg->{src} eq $pkg_dep->{src}.$suffix;