summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-06-29 19:37:11 +0000
committerJohn Crispin <john@openwrt.org>2013-06-29 19:37:11 +0000
commit89d41d95bf9078d81da6d9445ec1c877304a529c (patch)
tree47f1fe6ff7bfdfab21427feaab264e53f601d026 /scripts
parent0f6e9c9fcc18fee284f3e4a1201c5a257d83b1b1 (diff)
downloadmtk-20170518-89d41d95bf9078d81da6d9445ec1c877304a529c.zip
mtk-20170518-89d41d95bf9078d81da6d9445ec1c877304a529c.tar.gz
mtk-20170518-89d41d95bf9078d81da6d9445ec1c877304a529c.tar.bz2
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
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/metadata.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/metadata.pl b/scripts/metadata.pl
index ade86c8..17040d9 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;