aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAdrian Chadd <adrian@FreeBSD.org>2014-08-25 06:14:57 +0000
committerAdrian Chadd <adrian@FreeBSD.org>2014-08-25 06:14:57 +0000
commit50318baaa99059f5c17156cb857cfcf54ab71c74 (patch)
treea1599f3bd73af795fa712d025cd964c89c2ba819 /tools
parent3303bfc042938b94d38122fdbc0acdba4e9d5fd2 (diff)
downloadsrc-50318baaa99059f5c17156cb857cfcf54ab71c74.tar.gz
src-50318baaa99059f5c17156cb857cfcf54ab71c74.zip
Update these to make them actually compile!
Tested: * cross compilation to MIPS
Notes
Notes: svn path=/head/; revision=270520
Diffstat (limited to 'tools')
-rw-r--r--tools/tools/ath/athaggrstats/Makefile4
-rw-r--r--tools/tools/net80211/wlanstats/Makefile5
2 files changed, 5 insertions, 4 deletions
diff --git a/tools/tools/ath/athaggrstats/Makefile b/tools/tools/ath/athaggrstats/Makefile
index c73e4fa53b13..43e2a66f148a 100644
--- a/tools/tools/ath/athaggrstats/Makefile
+++ b/tools/tools/ath/athaggrstats/Makefile
@@ -12,8 +12,8 @@ CLEANFILES+= opt_ah.h
CFLAGS+=-DATH_SUPPORT_ANI
CFLAGS+=-DATH_SUPPORT_TDMA
-USEPRIVATELIB=
-LDADD=/usr/lib/private/libbsdstat.so.1
+USEPRIVATELIB= bsdstat
+LDADD= ${LDBSDSTAT}
opt_ah.h:
echo "#define AH_DEBUG 1" > opt_ah.h
diff --git a/tools/tools/net80211/wlanstats/Makefile b/tools/tools/net80211/wlanstats/Makefile
index 39a4b3bf2ecb..65d6468a9db5 100644
--- a/tools/tools/net80211/wlanstats/Makefile
+++ b/tools/tools/net80211/wlanstats/Makefile
@@ -5,10 +5,11 @@
PROG= wlanstats
BINDIR= /usr/local/bin
MAN=
-USEPRIVATELIB=
+USEPRIVATELIB= bsdstat
+LDADD= ${LDBSDSTAT}
SRCS= wlanstats.c main.c
-LDADD= -lbsdstat
+
CFLAGS.clang+= -fbracket-depth=512
.include <bsd.prog.mk>