Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tools handle the case where we don't have the files built yet
details: https://anonhg.NetBSD.org/src/rev/8b28d34446b5
branches: trunk
changeset: 350164:8b28d34446b5
user: christos <christos%NetBSD.org@localhost>
date: Fri Jan 06 20:27:19 2017 +0000
description:
handle the case where we don't have the files built yet
diffstat:
tools/dbsym/Makefile | 6 ++++--
tools/mdsetimage/Makefile | 6 ++++--
2 files changed, 8 insertions(+), 4 deletions(-)
diffs (40 lines):
diff -r f55cf3683a96 -r 8b28d34446b5 tools/dbsym/Makefile
--- a/tools/dbsym/Makefile Fri Jan 06 19:20:24 2017 +0000
+++ b/tools/dbsym/Makefile Fri Jan 06 20:27:19 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2017/01/06 17:22:51 christos Exp $
+# $NetBSD: Makefile,v 1.11 2017/01/06 20:27:19 christos Exp $
NOMAN= # defined
@@ -16,7 +16,9 @@
LDMAKEFILE=${TOOLCHAINOBJ}/build/ld/Makefile
.if exists(${LDMAKEFILE})
-HAVE_LIBDL!= grep -- -ldl ${LDMAKEFILE} || echo no
+HAVE_LIBDL!= grep -- -ldl ${LDMAKEFILE} || echo no
+.else
+HAVE_LIBDL= no
.endif
.if ${HAVE_LIBDL} != "no"
diff -r f55cf3683a96 -r 8b28d34446b5 tools/mdsetimage/Makefile
--- a/tools/mdsetimage/Makefile Fri Jan 06 19:20:24 2017 +0000
+++ b/tools/mdsetimage/Makefile Fri Jan 06 20:27:19 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2017/01/06 17:22:51 christos Exp $
+# $NetBSD: Makefile,v 1.13 2017/01/06 20:27:19 christos Exp $
NOMAN= # defined
@@ -17,7 +17,9 @@
LDMAKEFILE=${TOOLCHAINOBJ}/build/ld/Makefile
.if exists(${LDMAKEFILE})
-HAVE_LIBDL!= grep -- -ldl ${LDMAKEFILE} || echo no
+HAVE_LIBDL!= grep -- -ldl ${LDMAKEFILE} || echo no
+.else
+HAVE_LIBDL= no
.endif
.if ${HAVE_LIBDL} != "no"
Home |
Main Index |
Thread Index |
Old Index