metadata.pl: fixpath exclusion of kernel packages

module and build deps did not work for kernel modules

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37091
This commit is contained in:
John Crispin 2013-06-29 19:37:11 +00:00
parent 0f6e9c9fcc
commit 89d41d95bf

View file

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