Module Name: src
Committed By: uebayasi
Date: Mon Aug 24 15:44:01 UTC 2015
Modified Files:
src/sys/conf: Makefile.kern.inc
Log Message:
Fix vers.o dependency:
o Depend on ${SYSTEM_OBJ} instead of ${SYSTEM_DEP}. The latter is obviously
meant for kernels.
o Depend on Makefile instead of ${SYSTEM_SWAP_DEP}, which has existed since
Rev. 1.1, but seems not used now. Makefile is a file that must be updated
after every config(1) run. This is simpler than dependency on swap<kernel>.c.
To generate a diff of this commit:
cvs rdiff -u -r1.186 -r1.187 src/sys/conf/Makefile.kern.inc
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/conf/Makefile.kern.inc
diff -u src/sys/conf/Makefile.kern.inc:1.186 src/sys/conf/Makefile.kern.inc:1.187
--- src/sys/conf/Makefile.kern.inc:1.186 Mon Aug 24 14:04:25 2015
+++ src/sys/conf/Makefile.kern.inc Mon Aug 24 15:44:01 2015
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.kern.inc,v 1.186 2015/08/24 14:04:25 uebayasi Exp $
+# $NetBSD: Makefile.kern.inc,v 1.187 2015/08/24 15:44:01 uebayasi Exp $
#
# This file contains common `MI' targets and definitions and it is included
# at the bottom of each `MD' ${MACHINE}/conf/Makefile.${MACHINE}.
@@ -316,7 +316,7 @@ _NVFLAGS=${NVFLAGS}
.if !target(vers.o)
newvers: vers.o
-vers.o: ${SYSTEM_DEP} ${SYSTEM_SWAP_DEP} $S/conf/newvers.sh \
+vers.o: ${SYSTEM_OBJ} Makefile $S/conf/newvers.sh \
$S/conf/osrelease.sh ${_NETBSD_VERSION_DEPENDS}
${_MKMSG_CREATE} vers.c
${HOST_SH} $S/conf/newvers.sh ${_NVFLAGS}