소스 검색

metadata.pl: fixpath exclusion of kernel packages

module and build deps did not work for kernel modules

Signed-off-by: John Crispin <[email protected]>

SVN-Revision: 37091
John Crispin 12 년 전
부모
커밋
89d41d95bf
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      scripts/metadata.pl

+ 1 - 1
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;