From: John Crispin Date: Sat, 29 Jun 2013 19:37:11 +0000 (+0000) Subject: metadata.pl: fixpath exclusion of kernel packages X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=89d41d95bf9078d81da6d9445ec1c877304a529c;p=openwrt%2Fstaging%2Fzorun.git metadata.pl: fixpath exclusion of kernel packages module and build deps did not work for kernel modules Signed-off-by: John Crispin SVN-Revision: 37091 --- diff --git a/scripts/metadata.pl b/scripts/metadata.pl index ade86c867c..17040d9e36 100755 --- a/scripts/metadata.pl +++ b/scripts/metadata.pl @@ -757,7 +757,7 @@ sub gen_package_mk() { $idx = $subdir{$dep}.$dep; } $idx .= $suffix; - undef $idx if $idx =~ /^(kernel)|(base-files)$/; + undef $idx if $idx =~ /^(kernel\/linux)|(base-files)$/; if ($idx) { my $depline; next if $pkg->{src} eq $pkg_dep->{src}.$suffix;