Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Oct 2009 13:13:24 +0000 (UTC)
From:      Ermal Luçi <eri@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r198325 - user/eri/pf45/head/sys/modules/pf
Message-ID:  <200910211313.n9LDDOov000276@svn.freebsd.org>

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



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