pci-database: Makefile - skip adding sata items to scsi.pci.in

glen glen at pld-linux.org
Wed Feb 28 00:15:46 CET 2007


Author: glen                         Date: Tue Feb 27 23:15:46 2007 GMT
Module: pci-database                  Tag: HEAD
---- Log message:
- skip adding sata items to scsi.pci.in

---- Files affected:
pci-database:
   Makefile (1.25 -> 1.26) 

---- Diffs:

================================================================
Index: pci-database/Makefile
diff -u pci-database/Makefile:1.25 pci-database/Makefile:1.26
--- pci-database/Makefile:1.25	Wed Feb 28 00:06:09 2007
+++ pci-database/Makefile	Wed Feb 28 00:15:41 2007
@@ -33,16 +33,17 @@
 
 pcimap: pcimap-snd pcimap-scsi pcimap-net pcimap-net
 
-pcimap-snd: FORCE
+pcimap-snd:
 	s=snd.pci.in; grep '^snd-' $(KERNELSRCDIR)/modules.pcimap | \
 	./pcimap > tmp; sort -u $$s tmp > $$s.tmp && mv $$s.tmp $$s; \
 	rm -f tmp
 
 pcimap-scsi:
+	awk '{print $$1}' sata.pci.in | sort -u > sata.tmp; \
 	s=scsi.pci.in; find $(KERNELSRCDIR)/kernel/drivers/scsi | awk -F/ '{a = $$NF; sub("\.ko\.gz$$", "", a); printf("^%s \n", a)}' | \
 	grep -f - $(KERNELSRCDIR)/modules.pcimap | \
-	./pcimap > tmp; sort -u $$s tmp > $$s.tmp && mv $$s.tmp $$s; \
-	rm -f tmp
+	./pcimap | grep -vf sata.tmp > tmp; sort -u $$s tmp > $$s.tmp && mv $$s.tmp $$s; \
+	rm -f tmp sata.tmp
 
 pcimap-net:
 	s=net.pci.in; find $(KERNELSRCDIR)/kernel/drivers/net | awk -F/ '{a = $$NF; sub("\.ko\.gz$$", "", a); printf("^%s \n", a)}' | \
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/pci-database/Makefile?r1=1.25&r2=1.26&f=u



More information about the pld-cvs-commit mailing list