NetBSD/sys/dev/hdaudio/Makefile.hdaudiodevs
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

20 lines
861 B
Makefile

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