diff --git a/release/Makefile b/release/Makefile index 6901f98aa071..8da4df662d30 100644 --- a/release/Makefile +++ b/release/Makefile @@ -844,10 +844,12 @@ doSTDKERNEL: @cd ${.CURDIR}/../sys/compile/${KERNEL} && \ make depend && \ make ${KERNEL_FLAGS} KERNEL=${KERNEL} && \ - make KERNEL=${KERNEL} DESTDIR=${RD}/kernels \ - install kernel-reinstall.debug && \ + make KERNEL=${KERNEL} DESTDIR=${RD}/kernels install && \ [ -r ${.CURDIR}/../sys/${MACHINE}/conf/${KERNEL}.hints ] && \ cp ${.CURDIR}/../sys/${MACHINE}/conf/${KERNEL}.hints ${RD}/kernels + @-cd ${.CURDIR}/../sys/compile/${KERNEL} && \ + make KERNEL=${KERNEL} DESTDIR=${RD}/kernels \ + kernel-reinstall.debug # # --==## Put a filesystem into a BOOTMFS kernel ##==--