Source-Changes-HG archive

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

[src/trunk]: src/sys/conf Don't sort objects for modular build.



details:   https://anonhg.NetBSD.org/src/rev/27d72c89c2f3
branches:  trunk
changeset: 333727:27d72c89c2f3
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Sat Nov 15 08:20:42 2014 +0000

description:
Don't sort objects for modular build.

diffstat:

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

diffs (21 lines):

diff -r 896fc846d2e7 -r 27d72c89c2f3 sys/conf/Makefile.kern.inc
--- a/sys/conf/Makefile.kern.inc        Sat Nov 15 08:20:01 2014 +0000
+++ b/sys/conf/Makefile.kern.inc        Sat Nov 15 08:20:42 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.kern.inc,v 1.181 2014/11/15 08:20:01 uebayasi Exp $
+#      $NetBSD: Makefile.kern.inc,v 1.182 2014/11/15 08:20:42 uebayasi Exp $
 #
 # This file contains common `MI' targets and definitions and it is included
 # at the bottom of each `MD' ${MACHINE}/conf/Makefile.${MACHINE}.
@@ -223,7 +223,11 @@
 # load lines for config "xxx" will be emitted as:
 # xxx: ${SYSTEM_DEP} swapxxxx.o vers.o build_kernel
 
+.if !empty(OBJS:Mnetbsd.ko)
+SYSTEM_OBJ?=   ${MD_OBJS} ${MI_OBJS} ${OBJS} ${SYSLIBCOMPAT} ${LIBKERN}
+.else
 SYSTEM_OBJ?=   ${MD_OBJS} ${MI_OBJS} ${OBJS:O} ${SYSLIBCOMPAT} ${LIBKERN}
+.endif
 SYSTEM_DEP+=   Makefile ${SYSTEM_OBJ:O} .gdbinit
 .if defined(KERNLDSCRIPT)
 SYSTEM_DEP+=   ${KERNLDSCRIPT}



Home | Main Index | Thread Index | Old Index