From 3359ac4cc80c5bfa33ddd735dd5142a0f85803e7 Mon Sep 17 00:00:00 2001 From: adrian Date: Mon, 25 Aug 2014 06:14:57 +0000 Subject: [PATCH] Update these to make them actually compile! Tested: * cross compilation to MIPS --- tools/tools/ath/athaggrstats/Makefile | 4 ++-- tools/tools/net80211/wlanstats/Makefile | 5 +++-- 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