Source-Changes-HG archive

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

[src/trunk]: src/sys/conf Fix vers.o dependency:



details:   https://anonhg.NetBSD.org/src/rev/7ff67a866141
branches:  trunk
changeset: 340137:7ff67a866141
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Mon Aug 24 15:44:01 2015 +0000

description:
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.

diffstat:

 sys/conf/Makefile.kern.inc |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 8553a953056c -r 7ff67a866141 sys/conf/Makefile.kern.inc
--- a/sys/conf/Makefile.kern.inc        Mon Aug 24 14:04:24 2015 +0000
+++ b/sys/conf/Makefile.kern.inc        Mon Aug 24 15:44:01 2015 +0000
@@ -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 @@
 
 .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}



Home | Main Index | Thread Index | Old Index