[openwrt/openwrt] metadata: remove 'base-files' special case

LEDE Commits lede-commits at lists.infradead.org
Sat Jan 13 10:55:41 PST 2018


neoraider pushed a commit to openwrt/openwrt.git, branch master:
https://git.lede-project.org/1a2b5eb7ac6bce10fe9afa941db6ee5001ce80e3

commit 1a2b5eb7ac6bce10fe9afa941db6ee5001ce80e3
Author: Matthias Schiffer <mschiffer at universe-factory.net>
AuthorDate: Thu Jan 4 18:19:28 2018 +0100

    metadata: remove 'base-files' special case
    
    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 at universe-factory.net>
---
 scripts/package-metadata.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/package-metadata.pl b/scripts/package-metadata.pl
index fbd458b..46446e9 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;
 



More information about the lede-commits mailing list