56ca39961b
This means that the kernel can be totally self contained now and is not dependent on the last buildworld to update /usr/share/mk. This might also make it easier to build 5.x kernels on 4.0 boxes etc, assuming gensetdefs and config(8) are updated.
17 lines
246 B
Makefile
17 lines
246 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../net
|
|
KMOD= if_tun
|
|
SRCS= if_tun.c opt_devfs.h opt_inet.h vnode_if.h
|
|
NOMAN=
|
|
|
|
NBPF?= 1
|
|
NTUN?= 2
|
|
|
|
CFLAGS+= ${PROTOS}
|
|
|
|
opt_inet.h:
|
|
echo "#define INET 1" > opt_inet.h
|
|
|
|
.include "${.CURDIR}/../../conf/kmod.mk"
|