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