From a74059550d9a366532a9ca95c0d16b414bde8ed4 Mon Sep 17 00:00:00 2001 From: jmcneill Date: Thu, 11 Aug 2011 22:38:25 +0000 Subject: [PATCH] Instead of trying to override vers.o target, set NVFLAGS=-n --- sys/arch/usermode/conf/Makefile.usermode | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/sys/arch/usermode/conf/Makefile.usermode b/sys/arch/usermode/conf/Makefile.usermode index 80fbc22ff06d..31d640867d1f 100644 --- a/sys/arch/usermode/conf/Makefile.usermode +++ b/sys/arch/usermode/conf/Makefile.usermode @@ -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 @@ SYSTEM_LD= @${_MKSHMSG} " link ${.CUTDIR:T}/${.TARGET}"; \ ${_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