aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/pfsync
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2016-03-30 23:50:23 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2016-03-30 23:50:23 +0000
commit497e80911e0033a44f608c5c912024997ffb5d3c (patch)
tree10dd676fe27eeae3526bd1b656f1cf7e9e25b69b /sys/modules/pfsync
parent4f1c85df14bdba51ee73298b4a37aa0eb4ea180a (diff)
Remove the old depend (mkdep) code and make FAST_DEPEND the one true way.
Reviewed by: emaste, hselasky (partial), brooks (brief) Discussed on: arch@ Sponsored by: EMC / Isilon Storage Division Differential Revision: https://reviews.freebsd.org/D5742
Notes
svn path=/head/; revision=297434
Diffstat (limited to 'sys/modules/pfsync')
-rw-r--r--sys/modules/pfsync/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/modules/pfsync/Makefile b/sys/modules/pfsync/Makefile
index d38bde7acd31..89af6f91452c 100644
--- a/sys/modules/pfsync/Makefile
+++ b/sys/modules/pfsync/Makefile
@@ -7,14 +7,11 @@ SRCS= if_pfsync.c \
opt_pf.h opt_inet.h opt_inet6.h
SRCS+= bus_if.h device_if.h
-.if defined(KERNBUILDDIR)
-MKDEP+= -include ${KERNBUILDDIR}/opt_global.h
-.else
+.if !defined(KERNBUILDDIR)
.if defined(VIMAGE)
opt_global.h:
echo "#define VIMAGE 1" >> ${.TARGET}
CFLAGS+= -include opt_global.h
-MKDEP+= -include opt_global.h
.endif
.endif