svn commit: r198325 - user/eri/pf45/head/sys/modules/pf
Ermal Luçi
eri at FreeBSD.org
Wed Oct 21 13:13:24 UTC 2009
Author: eri
Date: Wed Oct 21 13:13:24 2009
New Revision: 198325
URL: http://svn.freebsd.org/changeset/base/198325
Log:
Include explicitly through CFLAGS the custom produced
opt_global.h when building the pf(4) as module manually.
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 Wed Oct 21 13:11:38 2009 (r198324)
+++ user/eri/pf45/head/sys/modules/pf/Makefile Wed Oct 21 13:13:24 2009 (r198325)
@@ -36,8 +36,9 @@ opt_pf.h:
.if defined(VIMAGE)
opt_global.h:
echo "#define VIMAGE 1" >> ${.TARGET}
+CFLAGS+= -include ${.CURDIR}/opt_global.h
.endif
-
.endif
+
.include <bsd.kmod.mk>
More information about the svn-src-user
mailing list