svn commit: r241351 - head/sys/modules

David E. O'Brien obrien at FreeBSD.org
Mon Oct 8 14:08:14 UTC 2012


Author: obrien
Date: Mon Oct  8 14:08:13 2012
New Revision: 241351
URL: http://svn.freebsd.org/changeset/base/241351

Log:
  Restrict the module to varied environments.

Modified:
  head/sys/modules/Makefile

Modified: head/sys/modules/Makefile
==============================================================================
--- head/sys/modules/Makefile	Mon Oct  8 14:05:00 2012	(r241350)
+++ head/sys/modules/Makefile	Mon Oct  8 14:08:13 2012	(r241351)
@@ -108,7 +108,7 @@ SUBDIR=	\
 	fdc \
 	fdescfs \
 	${_fe} \
-	filemon \
+	${_filemon} \
 	firewire \
 	firmware \
 	${_fxp} \
@@ -364,6 +364,10 @@ SUBDIR=	\
 	${_zfs} \
 	zlib \
 
+.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
+_filemon=	filemon
+.endif
+
 .if ${MACHINE_CPUARCH} != "powerpc" && ${MACHINE_CPUARCH} != "arm" && \
 	${MACHINE_CPUARCH} != "mips"
 _syscons=	syscons


More information about the svn-src-all mailing list