From b5c67c303ce0b7b3640272d429b31b24574d58fb Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Sat, 6 Jan 2001 21:35:05 +0000 Subject: support both 2.2 and 2.4 --- mdk-stage1/pci-resource/update-pci-ids.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mdk-stage1/pci-resource/update-pci-ids.pl') 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; } -- cgit v1.2.1