summaryrefslogtreecommitdiffstats
path: root/kernel/modules.pl
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-10-29 16:13:47 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-10-29 16:13:47 +0000
commite2ffebc8fd3f10c175846d6b5a7f40e202277d7d (patch)
tree0eb5ff217d1f6767a4d0340ed7ba5d6670215b12 /kernel/modules.pl
parent368a0547548096f496c71a6690124366cc05424c (diff)
downloaddrakx-e2ffebc8fd3f10c175846d6b5a7f40e202277d7d.tar
drakx-e2ffebc8fd3f10c175846d6b5a7f40e202277d7d.tar.gz
drakx-e2ffebc8fd3f10c175846d6b5a7f40e202277d7d.tar.bz2
drakx-e2ffebc8fd3f10c175846d6b5a7f40e202277d7d.tar.xz
drakx-e2ffebc8fd3f10c175846d6b5a7f40e202277d7d.zip
handle depfile per kernel, not just 2.4* modules.dep
Diffstat (limited to 'kernel/modules.pl')
-rw-r--r--kernel/modules.pl5
1 files changed, 1 insertions, 4 deletions
diff --git a/kernel/modules.pl b/kernel/modules.pl
index 97231731d..d3ec763c8 100644
--- a/kernel/modules.pl
+++ b/kernel/modules.pl
@@ -116,8 +116,6 @@ my %images = (
all => 'fs/cdrom disk/cdrom|raw bus/usb disk/usb|scsi fs/loopback|local bus/pcmcia disk/pcmcia|hardware_raid fs/network network/main|pcmcia|usb|raw|gigabit bus/firewire disk/firewire',
);
-load_dependencies(glob("all.modules/2.4*/modules.dep"));
-
my $verbose = "@ARGV" =~ /-v/;
images() if "@ARGV" =~ /images/;
check() if "@ARGV" =~ /check/;
@@ -135,8 +133,7 @@ sub images {
if ($image !~ /all/) {
@modules = difference2(\@modules, \@modules_only_for_all_img);
}
- @modules = uniq(map { dependencies_closure($_) } @modules);
- printf qq(%s_modules="%s"\n), $image, join(" ", map { "$_.o" } @modules);
+ printf qq(%s_modules_raw="%s"\n), $image, join ' ', @modules;
}
}