summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authorjhay <jhay@FreeBSD.org>2001-01-03 08:12:30 +0000
committerjhay <jhay@FreeBSD.org>2001-01-03 08:12:30 +0000
commitb1094a7d879a0c80eac8a5c2c93e74fbe6702845 (patch)
tree4dfd658f76f58a1294d66d787e26cc529df85e6c /sys/modules
parentc2e300740ad2d9742e9eb8bdf756ec0fedd7d3ce (diff)
downloadFreeBSD-src-b1094a7d879a0c80eac8a5c2c93e74fbe6702845.zip
FreeBSD-src-b1094a7d879a0c80eac8a5c2c93e74fbe6702845.tar.gz
Make sppp a kld.
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/Makefile2
-rw-r--r--sys/modules/sppp/Makefile18
2 files changed, 19 insertions, 1 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index e4986ca..a10b490 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -11,7 +11,7 @@ SUBDIR= 3dfx accf_data accf_http agp aha amr an aue \
if_ppp if_sl if_tap if_tun ip6fw ipfilter ipfw ispfw joy kue \
linux lnc md mfs mii mlx msdos ncp netgraph nfs ntfs nullfs \
nwfs pcn portal procfs ${_random} \
- rl rp sf sis sk sn sound ste sym syscons sysvipc ti tl twe tx \
+ rl rp sf sis sk sn sound sppp ste sym syscons sysvipc ti tl twe tx \
udbp ugen uhid ukbd ulpt umapfs umass umodem ums union urio usb \
uscanner \
vinum vn vpo vr vx wb wx xl
diff --git a/sys/modules/sppp/Makefile b/sys/modules/sppp/Makefile
new file mode 100644
index 0000000..19e662c
--- /dev/null
+++ b/sys/modules/sppp/Makefile
@@ -0,0 +1,18 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../net
+KMOD= sppp
+SRCS= if_spppsubr.c
+SRCS+= opt_inet.h opt_inet6.h opt_ipx.h
+NOMAN=
+
+opt_inet.h:
+ echo "#define INET 1" > opt_inet.h
+
+opt_inet6.h:
+ echo "#define INET6 1" > opt_inet6.h
+
+opt_ipx.h:
+ echo "#define IPX 1" > opt_ipx.h
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud