summaryrefslogtreecommitdiffstats
path: root/sys/modules/netgraph/sync_ar/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/modules/netgraph/sync_ar/Makefile')
-rw-r--r--sys/modules/netgraph/sync_ar/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/modules/netgraph/sync_ar/Makefile b/sys/modules/netgraph/sync_ar/Makefile
index bc51040..11136c2 100644
--- a/sys/modules/netgraph/sync_ar/Makefile
+++ b/sys/modules/netgraph/sync_ar/Makefile
@@ -5,7 +5,9 @@ KMOD = ng_sync_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
+.if !defined(KERNBUILDDIR)
opt_netgraph.h:
echo "#define NETGRAPH" > opt_netgraph.h
+.endif
.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud