diff --git a/scripts/metadata.pl b/scripts/metadata.pl index f26d8fa5e5..bcc3700d42 100755 --- a/scripts/metadata.pl +++ b/scripts/metadata.pl @@ -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;