xref: /netbsd-src/sys/dev/usb/Makefile.usbdevs (revision 1cd7590af6f40ff42aa86b2a958d68b944a7d832)
1#	$NetBSD: Makefile.usbdevs,v 1.10 2017/04/18 19:04:25 riastradh Exp $
2#
3# As per tron@NetBSD.org, the proper procedure is
4#
5# 1.) Change "src/sys/dev/usb/usbdevs".
6# 2.) Commit "src/sys/dev/usb/usbdevs".
7# 3.) Execute "make -f Makefile.usbdevs" in "src/sys/dev/usb".
8
9# 4.) Ensure that the value of USB_MAX_STRING_LEN is at least as large as
10#     the values reported.  If necessary, update "src/sys/dev/usb/usb.h"
11#     and bump the kernel version in "src/sys/sys/param.h".
12# 5.) Commit "src/sys/dev/usb/usbdevs.h" and "src/sys/dev/usb/usbdevs_data.h";
13#     if you changed them, also commit "src/sys/dev/usb/usb.h" and
14#     "src/sys/sys/param.h".
15
16
17.include <bsd.own.mk>
18
19usbdevs.h usbdevs_data.h: ${.CURDIR}/../devlist2h.awk usbdevs
20	/bin/rm -f usbdevs.h usbdevs_data.h
21	${TOOL_AWK} -f ${.ALLSRC}
22