diff options
Diffstat (limited to 'sys/modules/pfsync/Makefile')
-rw-r--r-- | sys/modules/pfsync/Makefile | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/modules/pfsync/Makefile b/sys/modules/pfsync/Makefile index d38bde7..89af6f9 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 |