Home | History | Annotate | Line # | Download | only in mii
      1 #	$NetBSD: Makefile.miidevs,v 1.4 2021/06/29 21:03:36 pgoyette Exp $
      2 #
      3 # As per tron (a] NetBSD.org, the proper procedure is (adapted from dev/hdaudio)
      4 #
      5 # 1.) Change "src/sys/dev/mii/miidevs".
      6 # 2.) Commit "src/sys/dev/mii/miidevs".
      7 # 3.) Execute "make -f Makefile.miidevs" in "src/sys/dev/mii".
      8 # 4.) Ensure that the value of MII_MAX_DESCR_LEN is at least as large as
      9 #     the values reported.  If necessary, update "src/sys/dev/mii/miivar.h"
     10 #     and bump the kernel version in "src/sys/sys/param/h".
     11 # 5.) Commit "src/sys/dev/mii/miidevs.h" and
     12 #     "src/sys/dev/mii/miidevs_data.h"; if you changed them, also
     13 #     commit "src/sys/dev/mii/miivar.h" and "src/sys/sys/param.h".
     14 
     15 .include <bsd.own.mk>
     16 
     17 miidevs.h miidevs_data.h: ${.CURDIR}/../devlist2h.awk miidevs
     18 	/bin/rm -f miidevs.h miidevs_data.h
     19 	${TOOL_AWK} -f ${.ALLSRC}
     20