
replace TARGETS = KERNEL IMAGE [...] with MDTARGETS = KERNEL IMAGE FILENAME [...] If FILENAME is "-", use "netbsd.${KERNEL}" as the target filename The rest: Update for new MDTARGETS syntax. In some cases, the kernel name from the "old" method will be used to override the default.