Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/etc The snap_kern target is not sufficiently flexible.



details:   https://anonhg.NetBSD.org/src/rev/8c0ea7ecf835
branches:  trunk
changeset: 473129:8c0ea7ecf835
user:      gwr <gwr%NetBSD.org@localhost>
date:      Fri May 21 03:45:50 1999 +0000

description:
The snap_kern target is not sufficiently flexible.
Allow Makefile.in to provide its own.

diffstat:

 etc/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r a06e052d709d -r 8c0ea7ecf835 etc/Makefile
--- a/etc/Makefile      Fri May 21 01:10:49 1999 +0000
+++ b/etc/Makefile      Fri May 21 03:45:50 1999 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.117 1999/04/27 03:08:02 simonb Exp $
+#      $NetBSD: Makefile,v 1.118 1999/05/21 03:45:50 gwr Exp $
 #      from: @(#)Makefile      8.7 (Berkeley) 5/25/95
 
 # Environment variables without default values:
@@ -276,6 +276,7 @@
 GETKERNELAWK=  awk '/^config/ {print $$2; found=1} \
                END{ if (found == 0) print "netbsd"; }'
 #
+.if !target(snap_kern)
 snap_kern:
        cd ${KERNCONFDIR} && config \
                -b ${KERNOBJDIR}/GENERIC -s ${KERNSRCDIR} GENERIC
@@ -309,6 +310,7 @@
 .endif
        cd ${KERNOBJDIR}/${configfile} && ${MAKE} depend && ${MAKE} ${_J}
 .endfor # BUILD_KERNELS
+.endif # no target(snap_kern)
 
 .endif # RELEASEDIR check
 



Home | Main Index | Thread Index | Old Index