Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Dec 2009 22:49:03 +0000 (UTC)
From:      Ermal Luçi <eri@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r200283 - user/eri/pf45/head/sys/modules/pfsync
Message-ID:  <200912082249.nB8Mn3q6003907@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912082249.nB8Mn3q6003907>