[OpenWrt-Devel,01/15] metadata: remove 'base-files' special case

Message ID 8dcc1f30a14d5f09463417d398f977869ced1134.1515421834.git.mschiffer@universe-factory.net
State Superseded
Headers show
Series
  • Metadata generator refactoring, cleanup and PROVIDES improvements
Related show

Commit Message

Matthias Schiffer Jan. 8, 2018, 2:52 p.m.
Nothing explicitly depends on base-files, and even if it would, it would
not cause any problems. Remove the unused special case.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
---
 scripts/package-metadata.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/scripts/package-metadata.pl b/scripts/package-metadata.pl
index fbd458bf2a..46446e994b 100755
--- a/scripts/package-metadata.pl
+++ b/scripts/package-metadata.pl
@@ -539,7 +539,7 @@  sub gen_package_mk() {
 				} elsif (defined($srcpackage{$dep})) {
 					$idx = $subdir{$dep}.$dep;
 				}
-				undef $idx if $idx eq 'base-files';
+
 				if ($idx) {
 					$idx .= $suffix;