svn commit: r335847 - in head/sys/modules: pflog pfsync

Kristof Provost kp at FreeBSD.org
Sun Jul 1 18:09:18 UTC 2018


Author: kp
Date: Sun Jul  1 18:09:16 2018
New Revision: 335847
URL: https://svnweb.freebsd.org/changeset/base/335847

Log:
  pflog/pfsync: Fix module build with VIMAGE=yes
  
  pflog and pfsync's module Makefile fails to include opt_global.h to SRCS
  leading to build error for VIMAGE case.
  
  Reproduced with:
  cd /usr/src/sys/modules/pflog && make VIMAGE=yes
  
  PR:		229404
  Submitted by:	eugen@
  MFC after:	1 week

Modified:
  head/sys/modules/pflog/Makefile
  head/sys/modules/pfsync/Makefile

Modified: head/sys/modules/pflog/Makefile
==============================================================================
--- head/sys/modules/pflog/Makefile	Sun Jul  1 17:51:52 2018	(r335846)
+++ head/sys/modules/pflog/Makefile	Sun Jul  1 18:09:16 2018	(r335847)
@@ -4,7 +4,7 @@
 
 KMOD=	pflog
 SRCS=	if_pflog.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
 SRCS+=	bus_if.h device_if.h
 
 .if !defined(KERNBUILDDIR)

Modified: head/sys/modules/pfsync/Makefile
==============================================================================
--- head/sys/modules/pfsync/Makefile	Sun Jul  1 17:51:52 2018	(r335846)
+++ head/sys/modules/pfsync/Makefile	Sun Jul  1 18:09:16 2018	(r335847)
@@ -4,7 +4,7 @@
 
 KMOD=	pfsync
 SRCS=	if_pfsync.c \
-	opt_pf.h opt_inet.h opt_inet6.h
+	opt_pf.h opt_inet.h opt_inet6.h opt_global.h
 SRCS+=	bus_if.h device_if.h
 
 .if !defined(KERNBUILDDIR)


More information about the svn-src-head mailing list