1 # $NetBSD: Makefile.pcidevs,v 1.7 2016/10/26 01:03:23 pgoyette Exp $ 2 # 3 # As per tron (a] NetBSD.org, the proper procedure is 4 # 5 # 1.) Change "src/sys/dev/pci/pcidevs". 6 # 2.) Commit "src/sys/dev/pci/pcidevs". 7 # 3.) Execute "make -f Makefile.pcidevs" in "src/sys/dev/pci". 8 # 4.) Ensure that the values of PCI_VENDORSTR_LEN and PCI_PRODUCTSTR_LEN 9 # are at least as large as the values reported. If necessary, update 10 # the values in "src/sys/dev/pci/pci_verbose.h" and bump the kernel 11 # version in "src/sys/sys/param/h". 12 # 5.) Commit "src/sys/dev/pci/pcidevs.h" and "src/sys/dev/pci/pcidevs_data.h"; 13 # if you changed them, also commit "src/sys/dev/pci/pci_verbose.h" and 14 # "src/sys/sys/param/h". 15 16 .include <bsd.own.mk> 17 18 pcidevs.h pcidevs_data.h: ${.CURDIR}/../devlist2h.awk pcidevs 19 /bin/rm -f pcidevs.h pcidevs_data.h 20 ${TOOL_AWK} -f ${.ALLSRC} 21