From a37c8a520def25ddb783e0b7e13794f19552e1de Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Sun, 22 Apr 2001 16:54:01 +0000 Subject: [PATCH] Allow the `release' target to work if one disables the debug kernel build. Submitted by: jhb --- release/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 ##==--