patch-2.3.27 linux/drivers/pci/Makefile

Next file: linux/drivers/pci/devlist.h
Previous file: linux/drivers/parport/parport_pc.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.26/linux/drivers/pci/Makefile linux/drivers/pci/Makefile
@@ -32,3 +32,11 @@
 endif
 
 include $(TOPDIR)/Rules.make
+
+names.o: names.c devlist.h
+
+devlist.h: pci.ids gen-devlist
+	./gen-devlist <pci.ids >devlist.h
+
+gen-devlist: gen-devlist.c
+	$(HOSTCC) $(HOSTCFLAGS) -o gen-devlist gen-devlist.c

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)