Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/usermode/conf Instead of trying to override vers.o ...



details:   https://anonhg.NetBSD.org/src/rev/4fce1ed0997e
branches:  trunk
changeset: 768210:4fce1ed0997e
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Thu Aug 11 22:38:25 2011 +0000

description:
Instead of trying to override vers.o target, set NVFLAGS=-n

diffstat:

 sys/arch/usermode/conf/Makefile.usermode |  10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)

diffs (24 lines):

diff -r efd6773b1c79 -r 4fce1ed0997e sys/arch/usermode/conf/Makefile.usermode
--- a/sys/arch/usermode/conf/Makefile.usermode  Thu Aug 11 22:37:57 2011 +0000
+++ b/sys/arch/usermode/conf/Makefile.usermode  Thu Aug 11 22:38:25 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.usermode,v 1.6 2011/08/11 22:30:41 jmcneill Exp $
+# $NetBSD: Makefile.usermode,v 1.7 2011/08/11 22:38:25 jmcneill Exp $
 
 MACHINE_ARCH=                  usermode
 USETOOLS?=                     no
@@ -38,13 +38,7 @@
                ${_MKSHECHO}\
                ${CC} ${COPTS} -Wl,-Map,$@.map -o $@ '$${SYSTEM_OBJ}' '$${EXTRA_OBJ}' vers.o; \
                ${CC} ${COPTS} -Wl,-Map,$@.map -o $@ ${SYSTEM_OBJ} ${EXTRA_OBJ} vers.o
-
-newvers: vers.o
-vers.o: ${SYSTEM_DEP} ${SYSTEM_SWAP_DEP} $S/conf/newvers.sh $S/conf/osrelease.sh
-       ${_MKMSG_CREATE} vers.c
-       ${HOST_SH} $S/conf/newvers.sh -n ${_NVFLAGS}
-       ${_MKTARGET_COMPILE}
-       ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c vers.c
+NVFLAGS=       -n
 
 ##
 ## (6) port specific target dependencies



Home | Main Index | Thread Index | Old Index