From 772001de842c57439386d40e6c95a7c1976497d5 Mon Sep 17 00:00:00 2001 From: christos Date: Wed, 4 Jan 2017 15:43:04 +0000 Subject: [PATCH] PR/51772: Yorick Hardy: Don't hard-code "netbsd", use ${.TARGET} consistently. --- sys/conf/Makefile.kern.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/conf/Makefile.kern.inc b/sys/conf/Makefile.kern.inc index 03cbf909e17f..e1a2a52684eb 100644 --- a/sys/conf/Makefile.kern.inc +++ b/sys/conf/Makefile.kern.inc @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.kern.inc,v 1.250 2016/04/09 18:51:44 riastradh Exp $ +# $NetBSD: Makefile.kern.inc,v 1.251 2017/01/04 15:43:04 christos Exp $ # # This file contains common `MI' targets and definitions and it is included # at the bottom of each `MD' ${MACHINE}/conf/Makefile.${MACHINE}. @@ -213,10 +213,10 @@ SYSTEM_LD_HEAD?=@rm -f $@ SYSTEM_LD?= ${_MKSHMSG} " link ${.CURDIR:T}/${.TARGET}"; \ ${_MKSHECHO}\ ${LD} -Map ${.TARGET}.map --cref ${LINKFLAGS} -o ${.TARGET} \ - '$${SYSTEM_OBJ:N*swap*netbsd*}' '$${EXTRA_OBJ}' vers.o \ + '$${SYSTEM_OBJ:N*swap*${.TARGET}*}' '$${EXTRA_OBJ}' vers.o \ ${OBJS:M*swap${.TARGET}.o}; \ ${LD} -Map ${.TARGET}.map --cref ${LINKFLAGS} -o ${.TARGET} \ - ${SYSTEM_OBJ:N*swap*netbsd*} ${EXTRA_OBJ} vers.o \ + ${SYSTEM_OBJ:N*swap*${.TARGET}*} ${EXTRA_OBJ} vers.o \ ${OBJS:M*swap${.TARGET}.o} TEXTADDR?= ${LOADADDRESS} # backwards compatibility