From c8a68d41ad0267bc9e0532e5bc776f56e61f461b Mon Sep 17 00:00:00 2001 From: cjs Date: Sun, 7 Feb 1999 06:51:41 +0000 Subject: [PATCH] .ifndef BUILD should be .ifndef UPDATE (to avoid `make clean'). --- etc/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/etc/Makefile b/etc/Makefile index b2d424b853e2..80e38e54c483 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.96 1999/02/05 03:01:49 cjs Exp $ +# $NetBSD: Makefile,v 1.97 1999/02/07 06:51:41 cjs Exp $ # from: @(#)Makefile 8.7 (Berkeley) 5/25/95 # Environment variables without default values: @@ -16,6 +16,8 @@ # overridden. # KERNCONFDIR is where the configuration files for kernels are found; # default is ${KERNSRCDIR}/arch/${MACHINE}/conf but can be overridden. +# UPDATE is normally undefined; if defined, don't do a 'make clean' +# before kernel compile # NO_SENDMAIL is normally undefined; if defined, it will not do a # `make distribution' in the sendmail config file source directory. # USE_BIND4 is normally unset; if set, it will install a named.boot @@ -240,7 +242,7 @@ KERNCONFDIR?= ${KERNSRCDIR}/arch/${MACHINE}/conf snap_kern: cd ${KERNCONFDIR} && config \ -b ${KERNOBJDIR}/GENERIC -s ${KERNSRCDIR} GENERIC -.ifndef BUILD +.ifndef UPDATE cd ${KERNOBJDIR}/GENERIC && ${MAKE} clean .endif cd ${KERNOBJDIR}/GENERIC && \