From e865a2cfa0f16a87eb055c7ea683a04b9624cf9f Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Tue, 21 Aug 2007 12:21:59 +0000 Subject: use modname notation for dependencies --- kernel/list_modules.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'kernel') diff --git a/kernel/list_modules.pm b/kernel/list_modules.pm index 70fa2cdfe..6e41aaa76 100644 --- a/kernel/list_modules.pm +++ b/kernel/list_modules.pm @@ -289,8 +289,9 @@ sub load_dependencies { s![^ ]*/!!g; s!\.ko!!g; s!\.gz!!g; - my ($f, $deps) = split ':'; - $f => [ split ' ', $deps ]; + my ($filename, $d) = split ':'; + my ($modname, @deps) = map { filename2modname($_) } $filename, split(' ', $d); + $dependencies{$modname} = \@deps; } cat_($file); } -- cgit v1.2.1