Source-Changes-HG archive

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

[src/trunk]: src/sys/conf `ld -r' needs ${LINKFORMAT}. This fixes the experi...



details:   https://anonhg.NetBSD.org/src/rev/535a82c1df4b
branches:  trunk
changeset: 333672:535a82c1df4b
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Thu Nov 13 13:44:31 2014 +0000

description:
`ld -r' needs ${LINKFORMAT}.  This fixes the experimental config(1) modular
build for MIPS64 ports.

diffstat:

 sys/conf/Makefile.kern.inc |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r a0abd2f289e2 -r 535a82c1df4b sys/conf/Makefile.kern.inc
--- a/sys/conf/Makefile.kern.inc        Thu Nov 13 08:42:35 2014 +0000
+++ b/sys/conf/Makefile.kern.inc        Thu Nov 13 13:44:31 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.kern.inc,v 1.179 2014/11/07 12:34:14 nakayama Exp $
+#      $NetBSD: Makefile.kern.inc,v 1.180 2014/11/13 13:44:31 uebayasi Exp $
 #
 # This file contains common `MI' targets and definitions and it is included
 # at the bottom of each `MD' ${MACHINE}/conf/Makefile.${MACHINE}.
@@ -160,8 +160,8 @@
 # link rules: 
 LINK_O?=       @${_MKSHMSG} "   link  ${.CURDIR:T}/${.TARGET}" && \
                ${_MKSHECHO}\
-               ${LD} -r -Map=${.TARGET}.map -o ${.TARGET} ${.ALLSRC} && \
-               ${LD} -r -Map=${.TARGET}.map -o ${.TARGET} ${.ALLSRC}
+               ${LD} -r ${LINKFORMAT} -Map=${.TARGET}.map -o ${.TARGET} ${.ALLSRC} && \
+               ${LD} -r ${LINKFORMAT} -Map=${.TARGET}.map -o ${.TARGET} ${.ALLSRC}
 
 ##
 ## (3) libkern and compat



Home | Main Index | Thread Index | Old Index