summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2005-01-27 01:45:15 +0000
committerimp <imp@FreeBSD.org>2005-01-27 01:45:15 +0000
commit5b7b0c14b538313b894e23c8505d1b8f95276def (patch)
tree95e5732663e31a9358fa14966b2d86dc0baedbf5
parent79bac5b98b14633a8f91f1c3a1f77292f1f796b4 (diff)
downloadFreeBSD-src-5b7b0c14b538313b894e23c8505d1b8f95276def.zip
FreeBSD-src-5b7b0c14b538313b894e23c8505d1b8f95276def.tar.gz
ar and sr (and their netgraph cousins) don't appear to be 64-bit clean, so
disable them on all but i386.
-rw-r--r--sys/modules/Makefile2
-rw-r--r--sys/modules/netgraph/Makefile9
2 files changed, 8 insertions, 3 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index 6c0a0e0..72f349a 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -441,7 +441,7 @@ _smbfs= smbfs
_sound= sound
_splash= splash
_sppp= sppp
-_sr= sr
+#_sr= sr not 64bit clean
_streams= streams
_wi= wi
_xe= xe
diff --git a/sys/modules/netgraph/Makefile b/sys/modules/netgraph/Makefile
index ac4eb39..90165f8 100644
--- a/sys/modules/netgraph/Makefile
+++ b/sys/modules/netgraph/Makefile
@@ -33,14 +33,19 @@ SUBDIR= async \
socket \
split \
sppp \
- sync_ar \
- sync_sr \
+ ${_sync_ar} \
+ ${_sync_sr} \
tee \
tty \
UI \
vjc \
vlan
+.if ${MACHINE_ARCH} == "i386"
+_sync_ar= sync_ar
+_sync_sr= sync_sr
+.endif
+
.if !defined(NO_BLUETOOTH) || defined(ALL_MODULES)
_bluetooth= bluetooth
.endif
OpenPOWER on IntegriCloud