summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2001-01-06 21:35:05 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2001-01-06 21:35:05 +0000
commitb5c67c303ce0b7b3640272d429b31b24574d58fb (patch)
tree84ad8b46d90d85c032cd0a185784f01d38d85977
parentf7bb16a5414b35dacf48343fdb3fca0896b157e6 (diff)
downloaddrakx-backup-do-not-use-b5c67c303ce0b7b3640272d429b31b24574d58fb.tar
drakx-backup-do-not-use-b5c67c303ce0b7b3640272d429b31b24574d58fb.tar.gz
drakx-backup-do-not-use-b5c67c303ce0b7b3640272d429b31b24574d58fb.tar.bz2
drakx-backup-do-not-use-b5c67c303ce0b7b3640272d429b31b24574d58fb.tar.xz
drakx-backup-do-not-use-b5c67c303ce0b7b3640272d429b31b24574d58fb.zip
support both 2.2 and 2.4
-rwxr-xr-xmdk-stage1/pci-resource/update-pci-ids.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdk-stage1/pci-resource/update-pci-ids.pl b/mdk-stage1/pci-resource/update-pci-ids.pl
index 732131421..5227295d7 100755
--- a/mdk-stage1/pci-resource/update-pci-ids.pl
+++ b/mdk-stage1/pci-resource/update-pci-ids.pl
@@ -34,7 +34,7 @@ foreach $type (keys %t) {
struct pci_module_map ${type}_pci_ids[] = {
";
my %l;
- foreach (glob("../../kernel*/lib/modules/*/kernel/drivers/$t{$type}/*.o")) {
+ foreach (glob("../../kernel/lib/modules/*/$t{$type}/*.o"), glob("../../kernel/lib/modules/*/kernel/drivers/$t{$type}/*.o")) {
m|([^/]*)\.o$|;
$l{$1} = 1;
}