Source-Changes-HG archive

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

[src/trunk]: src/sys/conf Make ${DBSYM} failure fatal.



details:   https://anonhg.NetBSD.org/src/rev/ad3fe93438bb
branches:  trunk
changeset: 764910:ad3fe93438bb
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Wed May 11 16:03:56 2011 +0000

description:
Make ${DBSYM} failure fatal.

diffstat:

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

diffs (27 lines):

diff -r 33715d4989d3 -r ad3fe93438bb sys/conf/Makefile.kern.inc
--- a/sys/conf/Makefile.kern.inc        Wed May 11 15:08:59 2011 +0000
+++ b/sys/conf/Makefile.kern.inc        Wed May 11 16:03:56 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.kern.inc,v 1.131 2011/04/30 19:21:09 plunky Exp $
+#      $NetBSD: Makefile.kern.inc,v 1.132 2011/05/11 16:03:56 jakllsch Exp $
 #
 # This file contains common `MI' targets and definitions and it is included
 # at the bottom of each `MD' ${MACHINE}/conf/Makefile.${MACHINE}.
@@ -252,7 +252,7 @@
 SYSTEM_LD_TAIL+=; \
        if grep '^\#define.*SYMTAB_SPACE' opt_ddbparam.h > /dev/null; then \
                echo "${DBSYM} $@.gdb"; \
-               ${DBSYM} $@.gdb; \
+               ${DBSYM} $@.gdb || exit 1; \
        fi
 
 .elifndef PROF
@@ -262,7 +262,7 @@
 SYSTEM_LD_TAIL+=; \
        if grep '^\#define.*SYMTAB_SPACE' opt_ddbparam.h > /dev/null; then \
                echo "${DBSYM} $@"; \
-               ${DBSYM} $@; \
+               ${DBSYM} $@ || exit 1; \
        fi
 
 SYSTEM_LD_HEAD+=${SYSTEM_LD_HEAD_EXTRA}



Home | Main Index | Thread Index | Old Index