svn commit: r200283 - user/eri/pf45/head/sys/modules/pfsync
Ermal Luçi
eri at FreeBSD.org
Tue Dec 8 22:49:03 UTC 2009
Author: eri
Date: Tue Dec 8 22:49:03 2009
New Revision: 200283
URL: http://svn.freebsd.org/changeset/base/200283
Log:
Teach pfsync(4) makefile how to build a VIMAGE enabled module.
Modified:
user/eri/pf45/head/sys/modules/pfsync/Makefile
Modified: user/eri/pf45/head/sys/modules/pfsync/Makefile
==============================================================================
--- user/eri/pf45/head/sys/modules/pfsync/Makefile Tue Dec 8 22:43:29 2009 (r200282)
+++ user/eri/pf45/head/sys/modules/pfsync/Makefile Tue Dec 8 22:49:03 2009 (r200283)
@@ -22,6 +22,12 @@ opt_inet6.h:
opt_bpf.h:
echo "#define DEV_BPF 1" > ${.TARGET}
+
+.if defined(VIMAGE)
+opt_global.h:
+ echo "#define VIMAGE 1" > ${.TARGET}
+CFLAGS+= -I${.CURDIR}/opt_global.h
+.endif
.endif
.include <bsd.kmod.mk>
More information about the svn-src-user
mailing list