summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2000-08-28 03:17:49 +0000
committermarcel <marcel@FreeBSD.org>2000-08-28 03:17:49 +0000
commit51059d7de31ce483ecc360105aa019f16462aa8d (patch)
tree89fbeaa3146db73cc5175cbcb1c86babab252083
parente311b703abf2188695d0d9f46e472d586ac539ff (diff)
downloadFreeBSD-src-51059d7de31ce483ecc360105aa019f16462aa8d.zip
FreeBSD-src-51059d7de31ce483ecc360105aa019f16462aa8d.tar.gz
Don't enable Linuxulator support if not on an i386.
PR: 20873 Submitted by: Christian Weisgerber <naddy@mips.inka.de>
-rw-r--r--sys/modules/3dfx/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/modules/3dfx/Makefile b/sys/modules/3dfx/Makefile
index bbd7fd7..cdb773e 100644
--- a/sys/modules/3dfx/Makefile
+++ b/sys/modules/3dfx/Makefile
@@ -9,9 +9,11 @@ INCSRC= ../../sys
CLEANFILES= pci.h
+.if ${MACHINE_ARCH} == "i386"
# This line enables linux ioctl handling by default
# comment out if you don't want it
TDFX_OPTS= "\#define TDFX_LINUX"
+.endif
# Uncomment this for debugging messages
#CFLAGS+= -DDEBUG
OpenPOWER on IntegriCloud