- Revert gratuitous reinstall -> install change in previous commit.

- Don't try to build modules when compiling a kernel during release.
This commit is contained in:
jhb 2000-09-07 16:51:23 +00:00
parent 1883bff184
commit 5e357e63ec

View File

@ -779,8 +779,8 @@ doKERNEL:
@cd ${.CURDIR}/../sys/${MACHINE}/conf && config ${KERNEL}
@cd ${.CURDIR}/../sys/compile/${KERNEL} && \
make kernel-depend && \
make ${KERNEL_FLAGS} && \
make kernel-install DESTDIR=${RD}/kernels && \
make ${KERNEL_FLAGS} ${KERNEL_KO} && \
make kernel-reinstall DESTDIR=${RD}/kernels && \
[ -r ${.CURDIR}/../sys/${MACHINE}/conf/${KERNEL}.hints ] && \
cp ${.CURDIR}/../sys/${MACHINE}/conf/${KERNEL}.hints ${RD}/kernels