Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/conf If using a kernel ldscript, make sure it's added to...
details: https://anonhg.NetBSD.org/src/rev/c1517ab701af
branches: trunk
changeset: 760374:c1517ab701af
user: matt <matt%NetBSD.org@localhost>
date: Tue Jan 04 01:52:30 2011 +0000
description:
If using a kernel ldscript, make sure it's added to the list of kernel
dependencies.
diffstat:
sys/conf/Makefile.kern.inc | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r 20b763752c4f -r c1517ab701af sys/conf/Makefile.kern.inc
--- a/sys/conf/Makefile.kern.inc Tue Jan 04 01:51:06 2011 +0000
+++ b/sys/conf/Makefile.kern.inc Tue Jan 04 01:52:30 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.kern.inc,v 1.128 2011/01/02 19:24:48 matt Exp $
+# $NetBSD: Makefile.kern.inc,v 1.129 2011/01/04 01:52:30 matt Exp $
#
# This file contains common `MI' targets and definitions and it is included
# at the bottom of each `MD' ${MACHINE}/conf/Makefile.${MACHINE}.
@@ -210,6 +210,9 @@
# ${SYSTEM_LD_TAIL}
SYSTEM_OBJ?= ${MD_OBJS} ${MI_OBJS} ${OBJS:O} ${SYSLIBCOMPAT} ${LIBKERN}
SYSTEM_DEP?= Makefile ${SYSTEM_OBJ:O} .gdbinit
+.if defined(KERNLDSCRIPT)
+SYSTEM_DEP+= ${KERNLDSCRIPT}
+.endif
.if defined(CTFMERGE)
SYSTEM_CTFMERGE= ${CTFMERGE} ${CTFFLAGS} -o ${.TARGET} ${SYSTEM_OBJ} ${EXTRA_OBJ} vers.o
.else
Home |
Main Index |
Thread Index |
Old Index