summaryrefslogtreecommitdiffstats
path: root/sys/modules/pflog/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/modules/pflog/Makefile')
-rw-r--r--sys/modules/pflog/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/modules/pflog/Makefile b/sys/modules/pflog/Makefile
index 1889681..36656dc 100644
--- a/sys/modules/pflog/Makefile
+++ b/sys/modules/pflog/Makefile
@@ -7,14 +7,11 @@ SRCS= if_pflog.c \
opt_pf.h opt_inet.h opt_inet6.h opt_bpf.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
OpenPOWER on IntegriCloud