1 # $NetBSD: Makefile.usbdevs,v 1.10 2017/04/18 19:04:25 riastradh Exp $ 2 # 3 # As per tron (a] 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 19 usbdevs.h usbdevs_data.h: ${.CURDIR}/../devlist2h.awk usbdevs 20 /bin/rm -f usbdevs.h usbdevs_data.h 21 ${TOOL_AWK} -f ${.ALLSRC} 22