summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2002-05-01 19:24:26 +0000
committerimp <imp@FreeBSD.org>2002-05-01 19:24:26 +0000
commit97feabed08c26b8c53c3d7fd222d27f5c7433f82 (patch)
tree98ad37723c29b85c0f1fff476d6e4257e2fb25af /sys/conf
parent595375107e1cc0ff43c1500a67effd9427887035 (diff)
downloadFreeBSD-src-97feabed08c26b8c53c3d7fd222d27f5c7433f82.zip
FreeBSD-src-97feabed08c26b8c53c3d7fd222d27f5c7433f82.tar.gz
We don't need no stinkin' echos here.
Instead, don't run kldxref if you don't have one on your system.
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/kmod.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk
index 59f5ca7..7119824 100644
--- a/sys/conf/kmod.mk
+++ b/sys/conf/kmod.mk
@@ -170,6 +170,9 @@ ${KMOD}.kld: ${OBJS}
.endif
.endif
+.if !exists(/usr/sbin/kldxref)
+NO_XREF=yes
+.endif
_ILINKS=@ machine
@@ -257,9 +260,7 @@ realinstall:
done; true
.endif
.if !defined(NO_XREF)
- @echo "FAILURES HERE ARE OK"
-kldxref ${DESTDIR}${KMODDIR}
- @echo "END OF SECTION WHERE FAILURES ARE OK"
.endif
.endif
@@ -345,5 +346,4 @@ ${OBJS}: ${SRCS:M*.h}
.endif
.include <bsd.obj.mk>
-
.include <bsd.kern.mk>
OpenPOWER on IntegriCloud