Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/conf PR/51772: Yorick Hardy: Don't hard-code "netbsd", u...
details: https://anonhg.NetBSD.org/src/rev/796e2912c7d4
branches: trunk
changeset: 350097:796e2912c7d4
user: christos <christos%NetBSD.org@localhost>
date: Wed Jan 04 15:43:04 2017 +0000
description:
PR/51772: Yorick Hardy: Don't hard-code "netbsd", use ${.TARGET} consistently.
diffstat:
sys/conf/Makefile.kern.inc | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (22 lines):
diff -r d54e9ddfea4f -r 796e2912c7d4 sys/conf/Makefile.kern.inc
--- a/sys/conf/Makefile.kern.inc Wed Jan 04 15:41:24 2017 +0000
+++ b/sys/conf/Makefile.kern.inc Wed Jan 04 15:43:04 2017 +0000
@@ -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?= ${_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
Home |
Main Index |
Thread Index |
Old Index