summaryrefslogtreecommitdiffstats
path: root/sys/modules/netgraph
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 /sys/modules/netgraph
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.
Diffstat (limited to 'sys/modules/netgraph')
-rw-r--r--sys/modules/netgraph/Makefile9
1 files changed, 7 insertions, 2 deletions
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