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 f26d8fa..bcc3700 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;