summaryrefslogtreecommitdiffstats
path: root/sys/modules/agp
diff options
context:
space:
mode:
authornyan <nyan@FreeBSD.org>2004-08-16 16:01:40 +0000
committernyan <nyan@FreeBSD.org>2004-08-16 16:01:40 +0000
commit3a70dff6bb4fe5e169cb596a57f322db03ff7592 (patch)
treede229e6cb65401bc22f3bfc79470e2d1f438c79a /sys/modules/agp
parent96605b4a64c6cf9b8715b73d25968d68a3445283 (diff)
downloadFreeBSD-src-3a70dff6bb4fe5e169cb596a57f322db03ff7592.zip
FreeBSD-src-3a70dff6bb4fe5e169cb596a57f322db03ff7592.tar.gz
agp_amd64.c is not needed on pc98.
Diffstat (limited to 'sys/modules/agp')
-rw-r--r--sys/modules/agp/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/modules/agp/Makefile b/sys/modules/agp/Makefile
index 4219f55..e8a69fb 100644
--- a/sys/modules/agp/Makefile
+++ b/sys/modules/agp/Makefile
@@ -6,7 +6,10 @@ KMOD= agp
SRCS= agp.c agp_if.c
.if ${MACHINE_ARCH} == "i386"
SRCS+= agp_i810.c agp_intel.c agp_via.c agp_sis.c agp_ali.c agp_amd.c \
- agp_amd64.c agp_nvidia.c opt_agp.h
+ agp_nvidia.c opt_agp.h
+.endif
+.if ${MACHINE} == "i386"
+SRCS+= agp_amd64.c
.endif
.if ${MACHINE_ARCH} == "alpha"
SRCS+= agp_amd.c
OpenPOWER on IntegriCloud