summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-06-29 19:37:11 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-06-29 19:37:11 +0000
commitba69e8b98934a8f85fa8a4ebd697c21da879dfce (patch)
treea05d5d73c7a21dcea874511e3107790d38bba201
parentdd22fb11b6a3cde178d863d4dc9a0ed114e38c94 (diff)
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37091 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-xscripts/metadata.pl2
1 files changed, 1 insertions, 1 deletions
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;