NetBSD/sys/dev/pci/Makefile.pcidevs
pgoyette c9690682a0 Update the devlist2h.awk script to track the maximum lengths of vendor
and product strings, and report the max values at end of the run.

Update the Makefiles.{pci,usb,hdaudio}devs to point users at the places
which might need to be updated if the maximum lengths get larger.

Since this commit makes no changes to the generated files, we don't
need to regenerate them now.
2016-10-26 01:03:23 +00:00

21 lines
858 B
Makefile

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