Date: Sat, 17 Oct 2009 23:04:05 +0000 (UTC) From: Ermal Luçi <eri@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r198193 - user/eri/pf45/head/sys/modules/pf Message-ID: <200910172304.n9HN4580053296@svn.freebsd.org>
index | next in thread | raw e-mail
Author: eri Date: Sat Oct 17 23:04:04 2009 New Revision: 198193 URL: http://svn.freebsd.org/changeset/base/198193 Log: Allow pf(4) module to be built as module with vimage options enabled. It is off by default. To enable just define VIMAGE variable. Modified: user/eri/pf45/head/sys/modules/pf/Makefile Modified: user/eri/pf45/head/sys/modules/pf/Makefile ============================================================================== --- user/eri/pf45/head/sys/modules/pf/Makefile Sat Oct 17 23:01:29 2009 (r198192) +++ user/eri/pf45/head/sys/modules/pf/Makefile Sat Oct 17 23:04:04 2009 (r198193) @@ -9,7 +9,7 @@ KMOD= pf SRCS = pf.c pf_if.c pf_lb.c pf_osfp.c pf_ioctl.c pf_norm.c pf_table.c \ pf_ruleset.c \ in4_cksum.c \ - opt_pf.h opt_inet.h opt_inet6.h opt_bpf.h + opt_pf.h opt_inet.h opt_inet6.h opt_bpf.h opt_global.h CFLAGS+= -I${.CURDIR}/../../contrib/pf @@ -33,6 +33,11 @@ opt_pf.h: echo "#define DEV_PFSYNC 1" >> ${.TARGET} echo "#define DEV_PFLOW 1" >> ${.TARGET} +.if defined(VIMAGE) +opt_global.h: + echo "#define VIMAGE 1" >> ${.TARGET} +.endif + .endif .include <bsd.kmod.mk>help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910172304.n9HN4580053296>
