Allow the `release' target to work if one disables the debug kernel build.

Submitted by:	jhb
This commit is contained in:
David E. O'Brien 2001-04-22 16:54:01 +00:00
parent b5f997102e
commit a37c8a520d

View File

@ -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 ##==--