diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2003-12-18 16:00:51 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2003-12-18 16:00:51 +0000 |
commit | f4d0cbba874d45d1e31ebca5ef63df9fc4b6a4ec (patch) | |
tree | d268120d9d2c10e7c987c15c3568aa56fffca7d0 /kernel/dependencies.pl | |
parent | ef7b88972b9c49fd04119efab49908b819560e6a (diff) | |
download | drakx-f4d0cbba874d45d1e31ebca5ef63df9fc4b6a4ec.tar drakx-f4d0cbba874d45d1e31ebca5ef63df9fc4b6a4ec.tar.gz drakx-f4d0cbba874d45d1e31ebca5ef63df9fc4b6a4ec.tar.bz2 drakx-f4d0cbba874d45d1e31ebca5ef63df9fc4b6a4ec.tar.xz drakx-f4d0cbba874d45d1e31ebca5ef63df9fc4b6a4ec.zip |
2.6 kernel support
Diffstat (limited to 'kernel/dependencies.pl')
-rw-r--r-- | kernel/dependencies.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/dependencies.pl b/kernel/dependencies.pl index 10663b56b..e3be14212 100644 --- a/kernel/dependencies.pl +++ b/kernel/dependencies.pl @@ -3,10 +3,11 @@ use strict; use MDK::Common; use list_modules; +my $version = shift @ARGV; my $depfile = shift @ARGV; load_dependencies($depfile); print STDERR "Loaded dependencies from $depfile\n"; my @modules = uniq(map { dependencies_closure($_) } @ARGV); -print join " ", map { "$_.o" } @modules; +print join " ", map { $_ . ($version == 24 ? '.o' : '.ko') } @modules; print "\n"; |