svn commit: r236621 - head/sys/modules

David E. O'Brien obrien at FreeBSD.org
Tue Jun 5 17:44:55 UTC 2012


Author: obrien
Date: Tue Jun  5 17:44:54 2012
New Revision: 236621
URL: http://svn.freebsd.org/changeset/base/236621

Log:
  Only build filemon(4) on x86.

Modified:
  head/sys/modules/Makefile

Modified: head/sys/modules/Makefile
==============================================================================
--- head/sys/modules/Makefile	Tue Jun  5 17:36:28 2012	(r236620)
+++ head/sys/modules/Makefile	Tue Jun  5 17:44:54 2012	(r236621)
@@ -5,7 +5,8 @@
 # Modules that include binary-only blobs of microcode should be selectable by
 # MK_SOURCELESS_UCODE option (see below).
 
-SUBDIR=	${_3dfx} \
+SUBDIR=	\
+	${_3dfx} \
 	${_3dfx_linux} \
 	${_aac} \
 	accf_data \
@@ -358,9 +359,12 @@ SUBDIR=	${_3dfx} \
 	${_zfs} \
 	zlib \
 
+.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
+_filemon=	filemon
+.endif
+
 .if ${MACHINE_CPUARCH} != "powerpc" && ${MACHINE_CPUARCH} != "arm" && \
 	${MACHINE_CPUARCH} != "mips"
-_filemon=	filemon
 _syscons=	syscons
 _vpo=		vpo
 .endif


More information about the svn-src-head mailing list