From: Sonic Zhang <[email protected]>

All kernel version except for 2.4 has the same dep output format.


Signed-off-by: Sonic Zhang <[email protected]>

Index: busybox/examples/depmod.pl
===================================================================
--- busybox/examples/depmod.pl  (revision 10346)
+++ busybox/examples/depmod.pl  (working copy)
@@ -199,7 +199,7 @@
     open(STDOUT, ">$basedir/modules.dep")
                              or die "cannot open $basedir/modules.dep: $!";
 }
-my $kseries = $basedir =~ m,/2\.6\.[^/]*, ? '2.6' : '2.4';
+my $kseries = $basedir =~ m,/2\.4\.[^/]*, ? '2.4' : 'others';
 
 foreach my $module ( keys %$mod ) {
     if($kseries eq '2.4') {

_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to