aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/modules/Makefile')
-rw-r--r--sys/modules/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index 5548b385d00a..fe4cf8818f61 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -773,7 +773,7 @@ SUBDIR:= ${SUBDIR:N${reject}}
# Calling kldxref(8) for each module is expensive.
.if !defined(NO_XREF)
.MAKEFLAGS+= -DNO_XREF
-afterinstall:
+afterinstall: .PHONY
@if type kldxref >/dev/null 2>&1; then \
${ECHO} kldxref ${DESTDIR}${KMODDIR}; \
kldxref ${DESTDIR}${KMODDIR}; \