Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbmips/conf if NEED_MDSETIMAGE != no and the ramdi...
details: https://anonhg.NetBSD.org/src/rev/b4ca59eb4336
branches: trunk
changeset: 339094:b4ca59eb4336
user: matt <matt%NetBSD.org@localhost>
date: Fri Jun 26 21:56:31 2015 +0000
description:
if NEED_MDSETIMAGE != no and the ramdisk.fs exists
add ramdisk.fs to SYSTEM_DEP
if DEBUG is defined, mdsetimage the ramdisk image into the .gdb copy
diffstat:
sys/arch/evbmips/conf/Makefile.evbmips.inc | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diffs (19 lines):
diff -r 2f0d1edb2eec -r b4ca59eb4336 sys/arch/evbmips/conf/Makefile.evbmips.inc
--- a/sys/arch/evbmips/conf/Makefile.evbmips.inc Fri Jun 26 21:54:41 2015 +0000
+++ b/sys/arch/evbmips/conf/Makefile.evbmips.inc Fri Jun 26 21:56:31 2015 +0000
@@ -4,9 +4,15 @@
.if defined(NEED_MDSETIMAGE) && ${NEED_MDSETIMAGE} != no \
&& exists(${RAMDISKDIR}/ramdisk.fs)
+SYSTEM_DEP+= ${RAMDISKDIR}/ramdisk.fs
SYSTEM_LD_TAIL_EXTRA+=; \
echo ${TOOL_MDSETIMAGE} -s $@ ${RAMDISKDIR}/ramdisk.fs; \
${TOOL_MDSETIMAGE} -s $@ ${RAMDISKDIR}/ramdisk.fs
+.if defined(DEBUG)
+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