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/91c5e5afa6ec
branches: trunk
changeset: 340448:91c5e5afa6ec
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 26b8193495bc -r 91c5e5afa6ec 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