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.
19 lines
281 B
Makefile
19 lines
281 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../net
|
|
KMOD= if_disc
|
|
SRCS= if_disc.c opt_inet.h opt_inet6.h
|
|
NOMAN=
|
|
|
|
NBPF?= 1
|
|
|
|
CFLAGS+= ${PROTOS}
|
|
|
|
opt_inet.h:
|
|
echo "#define INET 1" > opt_inet.h
|
|
|
|
#opt_inet6.h:
|
|
# echo "#define INET6 1" > opt_inet6.h
|
|
|
|
.include "${.CURDIR}/../../conf/kmod.mk"
|