Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Jul 2018 18:09:17 +0000 (UTC)
From:      Kristof Provost <kp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r335847 - in head/sys/modules: pflog pfsync
Message-ID:  <201807011809.w61I9HqX026185@repo.freebsd.org>

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



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