diff options
Diffstat (limited to 'sys/modules/ar')
-rw-r--r-- | sys/modules/ar/Makefile | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/sys/modules/ar/Makefile b/sys/modules/ar/Makefile index 3951fd4..fae9452 100644 --- a/sys/modules/ar/Makefile +++ b/sys/modules/ar/Makefile @@ -1,8 +1,17 @@ # $FreeBSD$ - + .PATH: ${.CURDIR}/../../dev/ar KMOD = if_ar SRCS = if_ar.c if_ar_isa.c if_ar_pci.c SRCS += device_if.h bus_if.h pci_if.h isa_if.h opt_netgraph.h - + +NETGRAPH?= 0 + +opt_netgraph.h: +.if ${NETGRAPH} != 0 + echo "#define NETGRAPH ${NETGRAPH}" > opt_netgraph.h +.else + echo "" > opt_netgraph.h +.endif + .include <bsd.kmod.mk> |