Source-Changes-HG archive

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

[src/trunk]: src/sys/conf Allow MD to link libraries. Build rules are writte...



details:   https://anonhg.NetBSD.org/src/rev/97fa725e4df7
branches:  trunk
changeset: 810590:97fa725e4df7
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Sun Sep 06 02:05:11 2015 +0000

description:
Allow MD to link libraries.  Build rules are written in MD makefiles until
config(1) will support library properly.

diffstat:

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

diffs (19 lines):

diff -r e85d8c061d41 -r 97fa725e4df7 sys/conf/Makefile.kern.inc
--- a/sys/conf/Makefile.kern.inc        Sun Sep 06 01:37:35 2015 +0000
+++ b/sys/conf/Makefile.kern.inc        Sun Sep 06 02:05:11 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.kern.inc,v 1.237 2015/09/04 06:10:47 uebayasi Exp $
+#      $NetBSD: Makefile.kern.inc,v 1.238 2015/09/06 02:05:11 uebayasi Exp $
 #
 # This file contains common `MI' targets and definitions and it is included
 # at the bottom of each `MD' ${MACHINE}/conf/Makefile.${MACHINE}.
@@ -211,7 +211,8 @@
 # load lines for config "xxx" will be emitted as:
 # xxx: ${SYSTEM_DEP} swapxxxx.o vers.o build_kernel
 
-SYSTEM_OBJ?=   ${_MD_OBJS} ${OBJS} ${SYSLIBCOMPAT} ${LIBKERN}
+SYSTEM_LIB=    ${MD_LIBS} ${SYSLIBCOMPAT} ${LIBKERN}
+SYSTEM_OBJ?=   ${_MD_OBJS} ${OBJS} ${SYSTEM_LIB}
 SYSTEM_DEP+=   Makefile ${SYSTEM_OBJ}
 .if defined(CTFMERGE)
 SYSTEM_CTFMERGE= ${CTFMERGE} ${CTFMFLAGS} -o ${.TARGET} ${SYSTEM_OBJ} ${EXTRA_OBJ} vers.o



Home | Main Index | Thread Index | Old Index