Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/conf If dbsym fails, not fail the command, remove the ta...
details: https://anonhg.NetBSD.org/src/rev/5f44f603993f
branches: trunk
changeset: 766175:5f44f603993f
user: matt <matt%NetBSD.org@localhost>
date: Fri Jun 17 21:19:42 2011 +0000
description:
If dbsym fails, not fail the command, remove the target too so that the
next invokation will try to remake it.
diffstat:
sys/conf/Makefile.kern.inc | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 4c3aba41d937 -r 5f44f603993f sys/conf/Makefile.kern.inc
--- a/sys/conf/Makefile.kern.inc Fri Jun 17 21:18:57 2011 +0000
+++ b/sys/conf/Makefile.kern.inc Fri Jun 17 21:19:42 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.kern.inc,v 1.138 2011/05/30 03:12:43 joerg Exp $
+# $NetBSD: Makefile.kern.inc,v 1.139 2011/06/17 21:19:42 matt Exp $
#
# This file contains common `MI' targets and definitions and it is included
# at the bottom of each `MD' ${MACHINE}/conf/Makefile.${MACHINE}.
@@ -250,7 +250,7 @@
SYSTEM_LD_TAIL+=; \
if grep '^\#define.*SYMTAB_SPACE' opt_ddbparam.h > /dev/null; then \
echo "${DBSYM} $@.gdb"; \
- ${DBSYM} $@.gdb || exit 1; \
+ ${DBSYM} $@.gdb || (rm -f $@ ; exit 1) || exit 1; \
fi
.elifndef PROF
@@ -260,7 +260,7 @@
SYSTEM_LD_TAIL+=; \
if grep '^\#define.*SYMTAB_SPACE' opt_ddbparam.h > /dev/null; then \
echo "${DBSYM} $@"; \
- ${DBSYM} $@ || exit 1; \
+ ${DBSYM} $@ || (rm -f $@ ; exit 1) || exit 1; \
fi
SYSTEM_LD_HEAD+=${SYSTEM_LD_HEAD_EXTRA}
Home |
Main Index |
Thread Index |
Old Index