Source-Changes-HG archive

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

[src/trunk]: src Add references to ${_NETBSD_VERSION_DEPENDS} for files that



details:   https://anonhg.NetBSD.org/src/rev/47c1e373c18e
branches:  trunk
changeset: 782480:47c1e373c18e
user:      apb <apb%NetBSD.org@localhost>
date:      Sun Nov 04 11:12:31 2012 +0000

description:
Add references to ${_NETBSD_VERSION_DEPENDS} for files that
need to be re-created when the NetBSD version changes.  They
will also be re-created when any build settings are changed.

diffstat:

 sys/arch/next68k/stand/boot/Makefile        |  6 +++---
 sys/conf/Makefile.kern.inc                  |  5 +++--
 sys/rump/librump/rumpkern/Makefile.rumpkern |  5 +++--
 usr.sbin/crash/Makefile                     |  4 ++--
 4 files changed, 11 insertions(+), 9 deletions(-)

diffs (78 lines):

diff -r 32f7e89a021c -r 47c1e373c18e sys/arch/next68k/stand/boot/Makefile
--- a/sys/arch/next68k/stand/boot/Makefile      Sun Nov 04 11:09:14 2012 +0000
+++ b/sys/arch/next68k/stand/boot/Makefile      Sun Nov 04 11:12:31 2012 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.24 2011/01/22 19:19:21 joerg Exp $
+#      $NetBSD: Makefile,v 1.25 2012/11/04 11:12:31 apb Exp $
 
 NOMAN= # defined
 
@@ -77,10 +77,10 @@
        ${CC} -m68040 -x assembler-with-cpp ${INCLUDES} ${DEFS} -c ${.CURDIR}/srt0.s
 
 .PHONY: build.c
-build.c:
+build.c: ${_NETBSD_VERSION_DEPENDS}
        ${HOST_SH} ${.CURDIR}/newvers.sh
 
-vers.c: version
+vers.c: version ${_NETBSD_VERSION_DEPENDS}
        ${HOST_SH} ${S}/conf/newvers_stand.sh ${.CURDIR}/version "next68k"
 
 #installboot: ${.CURDIR}/installboot.sh
diff -r 32f7e89a021c -r 47c1e373c18e sys/conf/Makefile.kern.inc
--- a/sys/conf/Makefile.kern.inc        Sun Nov 04 11:09:14 2012 +0000
+++ b/sys/conf/Makefile.kern.inc        Sun Nov 04 11:12:31 2012 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.kern.inc,v 1.158 2012/08/10 16:05:26 joerg Exp $
+#      $NetBSD: Makefile.kern.inc,v 1.159 2012/11/04 11:12:31 apb Exp $
 #
 # This file contains common `MI' targets and definitions and it is included
 # at the bottom of each `MD' ${MACHINE}/conf/Makefile.${MACHINE}.
@@ -338,7 +338,8 @@
 
 .if !target(vers.o)
 newvers: vers.o
-vers.o: ${SYSTEM_DEP} ${SYSTEM_SWAP_DEP} $S/conf/newvers.sh $S/conf/osrelease.sh
+vers.o: ${SYSTEM_DEP} ${SYSTEM_SWAP_DEP} $S/conf/newvers.sh \
+               $S/conf/osrelease.sh ${_NETBSD_VERSION_DEPENDS}
        ${_MKMSG_CREATE} vers.c
        ${HOST_SH} $S/conf/newvers.sh ${_NVFLAGS}
        ${_MKTARGET_COMPILE}
diff -r 32f7e89a021c -r 47c1e373c18e sys/rump/librump/rumpkern/Makefile.rumpkern
--- a/sys/rump/librump/rumpkern/Makefile.rumpkern       Sun Nov 04 11:09:14 2012 +0000
+++ b/sys/rump/librump/rumpkern/Makefile.rumpkern       Sun Nov 04 11:12:31 2012 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.rumpkern,v 1.119 2012/07/20 09:20:05 pooka Exp $
+#      $NetBSD: Makefile.rumpkern,v 1.120 2012/11/04 11:12:31 apb Exp $
 #
 
 .include "${RUMPTOP}/Makefile.rump"
@@ -36,7 +36,8 @@
 _NVFLAGS=
 .endif
 
-vers.c: ${RUMPTOP}/../conf/newvers.sh ${RUMPTOP}/../conf/osrelease.sh ${RUMPTOP}/../sys/param.h
+vers.c: ${RUMPTOP}/../conf/newvers.sh ${RUMPTOP}/../conf/osrelease.sh \
+               ${RUMPTOP}/../sys/param.h ${_NETBSD_VERSION_DEPENDS}
        ${_MKMSG_CREATE} vers.c
        ${HOST_SH} ${RUMPTOP}/../conf/newvers.sh -i RUMP-ROAST -n ${_NVFLAGS}
 SRCS+=         vers.c
diff -r 32f7e89a021c -r 47c1e373c18e usr.sbin/crash/Makefile
--- a/usr.sbin/crash/Makefile   Sun Nov 04 11:09:14 2012 +0000
+++ b/usr.sbin/crash/Makefile   Sun Nov 04 11:12:31 2012 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.22 2012/08/31 11:52:39 skrll Exp $
+#      $NetBSD: Makefile,v 1.23 2012/11/04 11:12:32 apb Exp $
 
 PROG=          crash
 MAN=           crash.8
@@ -79,7 +79,7 @@
 
 # vers.c
 SRCS+= vers.c
-vers.c:        ${S}/conf/newvers.sh
+vers.c:        ${S}/conf/newvers.sh ${_NETBSD_VERSION_DEPENDS}
        ${HOST_SH} ${S}/conf/newvers.sh -r -n
 CLEANFILES+=   vers.c version
 



Home | Main Index | Thread Index | Old Index