diff options
Diffstat (limited to 'sys/modules/sr')
-rw-r--r-- | sys/modules/sr/Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/sys/modules/sr/Makefile b/sys/modules/sr/Makefile index 7b173ab26ad1..b49d21edbdbe 100644 --- a/sys/modules/sr/Makefile +++ b/sys/modules/sr/Makefile @@ -4,5 +4,14 @@ KMOD = if_sr SRCS = if_sr.c if_sr_isa.c if_sr_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> |