aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2018-08-27 19:34:50 +0000
committerKyle Evans <kevans@FreeBSD.org>2018-08-27 19:34:50 +0000
commitfd239e7ff8367445f10b535cfc44feeff9519f75 (patch)
treee2eabd65e2ce8c1b9339680793206d68fbf866cb
parent4b82a7b62f167734f760a1a886581721c25f1eae (diff)
Notes
-rw-r--r--tools/bsdbox/Makefile.hostapd5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/bsdbox/Makefile.hostapd b/tools/bsdbox/Makefile.hostapd
index c0ea9c7c0d45c..631643188bf1f 100644
--- a/tools/bsdbox/Makefile.hostapd
+++ b/tools/bsdbox/Makefile.hostapd
@@ -3,6 +3,7 @@
#
# $FreeBSD$
#
+.include <src.opts.mk>
CRUNCH_PROGS_usr.sbin+= hostapd hostapd_cli
CRUNCH_SRCDIR_hostapd= $(.CURDIR)/../../usr.sbin/wpa/hostapd
CRUNCH_SRCDIR_hostapd_cli= $(.CURDIR)/../../usr.sbin/wpa/hostapd_cli
@@ -11,5 +12,9 @@ CRUNCH_SRCDIR_hostapd_cli= $(.CURDIR)/../../usr.sbin/wpa/hostapd_cli
#CRUNCH_SRCDIR_wpa_supplicant= $(.CURDIR)/../../usr.sbin/wpa/wpa_supplicant
#CRUNCH_SRCDIR_wpa_cli= $(.CURDIR)/../../usr.sbin/wpa/wpa_cli
+.if ${MK_OFED} != "no"
+# libpcap dependencies if OFED is enabled
+CRUNCH_LIBS+= -lmlx5 -libverbs
+.endif
CRUNCH_LIBS+= -lpcap