summaryrefslogtreecommitdiff
path: root/sys/modules/sr
diff options
context:
space:
mode:
authorYaroslav Tykhiy <ytykhiy@gmail.com>2005-10-14 23:30:17 +0000
committerYaroslav Tykhiy <ytykhiy@gmail.com>2005-10-14 23:30:17 +0000
commit822923447e454b30d310cb46903c9ddeca9f0a7a (patch)
tree40653d874a438a3202bb62dd66566bfd5b1386c1 /sys/modules/sr
parent10d645b7e5a073fc2d4c2bd7472966b4381caf7c (diff)
Notes
Diffstat (limited to 'sys/modules/sr')
-rw-r--r--sys/modules/sr/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/modules/sr/Makefile b/sys/modules/sr/Makefile
index b49d21edbdbe..22bfc4bb5483 100644
--- a/sys/modules/sr/Makefile
+++ b/sys/modules/sr/Makefile
@@ -5,13 +5,13 @@ 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
+.if !defined(KERNBUILDDIR)
NETGRAPH?= 0
-opt_netgraph.h:
.if ${NETGRAPH} != 0
+opt_netgraph.h:
echo "#define NETGRAPH ${NETGRAPH}" > opt_netgraph.h
-.else
- echo "" > opt_netgraph.h
+.endif
.endif
.include <bsd.kmod.mk>