summaryrefslogtreecommitdiffstats
path: root/sys/modules/if_tun
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2000-01-26 01:08:03 +0000
committerbrian <brian@FreeBSD.org>2000-01-26 01:08:03 +0000
commit1d67bbf0a1edb35bd8c0894932111fcc25a8c23a (patch)
tree8b7b81c0dbc9501ce78986a5475af208441c0cde /sys/modules/if_tun
parent9ed45b0d46ca6edcf64829cfe01087a2fccbb3a6 (diff)
downloadFreeBSD-src-1d67bbf0a1edb35bd8c0894932111fcc25a8c23a.zip
FreeBSD-src-1d67bbf0a1edb35bd8c0894932111fcc25a8c23a.tar.gz
Don't use ATM on the alpha - it #errors out.
Pointed out by: jdp
Diffstat (limited to 'sys/modules/if_tun')
-rw-r--r--sys/modules/if_tun/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/modules/if_tun/Makefile b/sys/modules/if_tun/Makefile
index 8d97cce..6011be0 100644
--- a/sys/modules/if_tun/Makefile
+++ b/sys/modules/if_tun/Makefile
@@ -15,7 +15,11 @@ opt_atalk.h:
echo "#define NETATALK 1" > opt_atalk.h
opt_atm.h:
- echo "#define ATM_CORE 1" > opt_atm.h
+ echo "#ifdef __i386__" > opt_atm.h
+ echo "#define ATM_CORE 1" >> opt_atm.h
+ echo "#else" >>opt_atm.h
+ echo "#undef ATM_CORE" >>opt_atm.h
+ echo "#endif" >>opt_atm.h
opt_inet.h:
echo "#define INET 1" > opt_inet.h
OpenPOWER on IntegriCloud