Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/powerpc/conf When building a DEBUG kernel, mdsetima...
details: https://anonhg.NetBSD.org/src/rev/e706ab95fe4d
branches: trunk
changeset: 794109:e706ab95fe4d
user: matt <matt%NetBSD.org@localhost>
date: Thu Mar 06 09:24:07 2014 +0000
description:
When building a DEBUG kernel, mdsetimage into the .gdb as well (so if it's
used with gxemul, it has the md image in it.)
diffstat:
sys/arch/powerpc/conf/Makefile.powerpc | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 49e47d0b8f07 -r e706ab95fe4d sys/arch/powerpc/conf/Makefile.powerpc
--- a/sys/arch/powerpc/conf/Makefile.powerpc Thu Mar 06 09:22:52 2014 +0000
+++ b/sys/arch/powerpc/conf/Makefile.powerpc Thu Mar 06 09:24:07 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.powerpc,v 1.53 2014/02/28 05:48:22 matt Exp $
+# $NetBSD: Makefile.powerpc,v 1.54 2014/03/06 09:24:07 matt Exp $
#
# Makefile for NetBSD
#
@@ -93,6 +93,11 @@
SYSTEM_LD_TAIL_EXTRA+=; \
echo ${TOOL_MDSETIMAGE} -s $@ ${RAMDISKDIR}/ramdisk.fs; \
${TOOL_MDSETIMAGE} -s $@ ${RAMDISKDIR}/ramdisk.fs
+.if !empty(DEBUG:M-g*)
+SYSTEM_LD_TAIL_EXTRA+=; \
+ echo ${TOOL_MDSETIMAGE} -s $@.gdb ${RAMDISKDIR}/ramdisk.fs; \
+ ${TOOL_MDSETIMAGE} -s $@.gdb ${RAMDISKDIR}/ramdisk.fs
+.endif
.endif
.if defined(NEED_SREC) && ${NEED_SREC} != "no"
Home |
Main Index |
Thread Index |
Old Index