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