From owner-svn-src-head@FreeBSD.ORG Sat May 16 06:18:41 2015 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4063140F; Sat, 16 May 2015 06:18:41 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2151B1D36; Sat, 16 May 2015 06:18:41 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t4G6Ie2p056192; Sat, 16 May 2015 06:18:41 GMT (envelope-from adrian@FreeBSD.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t4G6IdXX056180; Sat, 16 May 2015 06:18:39 GMT (envelope-from adrian@FreeBSD.org) Message-Id: <201505160618.t4G6IdXX056180@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: adrian set sender to adrian@FreeBSD.org using -f From: Adrian Chadd Date: Sat, 16 May 2015 06:18:39 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r283002 - in head/tools/tools: ath/athaggrstats ath/athstats mwl/mwlstats net80211/wlanstats npe/npestats X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 May 2015 06:18:41 -0000 Author: adrian Date: Sat May 16 06:18:39 2015 New Revision: 283002 URL: https://svnweb.freebsd.org/changeset/base/283002 Log: Make these all work with the new way of doing privatelib. Without these CFLAGS settings a cross-compile won't find the headers anywhere. Tested: * mips (32, big endian) cross-build w/ LOCAL_DIRS including these tools. Modified: head/tools/tools/ath/athaggrstats/Makefile head/tools/tools/ath/athstats/Makefile head/tools/tools/mwl/mwlstats/Makefile head/tools/tools/net80211/wlanstats/Makefile head/tools/tools/npe/npestats/Makefile Modified: head/tools/tools/ath/athaggrstats/Makefile ============================================================================== --- head/tools/tools/ath/athaggrstats/Makefile Sat May 16 06:15:49 2015 (r283001) +++ head/tools/tools/ath/athaggrstats/Makefile Sat May 16 06:18:39 2015 (r283002) @@ -12,6 +12,7 @@ CLEANFILES+= opt_ah.h CFLAGS+=-DATH_SUPPORT_ANI CFLAGS+=-DATH_SUPPORT_TDMA +CFLAGS+=-I${.CURDIR}/../../../../lib/libbsdstat/ LIBADD+= bsdstat opt_ah.h: Modified: head/tools/tools/ath/athstats/Makefile ============================================================================== --- head/tools/tools/ath/athstats/Makefile Sat May 16 06:15:49 2015 (r283001) +++ head/tools/tools/ath/athstats/Makefile Sat May 16 06:18:39 2015 (r283002) @@ -8,10 +8,6 @@ MAN= PROG= athstats -# Because of a clang preprocessor parser limitation causing this -# to not compile, use gcc for now. -#CC= gcc - SRCS= main.c athstats.c opt_ah.h ah_osdep.h CLEANFILES+= opt_ah.h @@ -21,6 +17,8 @@ CLEANFILES+= opt_ah.h CFLAGS+=-DATH_SUPPORT_ANI CFLAGS+=-DATH_SUPPORT_TDMA +CFLAGS+=-I${.CURDIR}/../../../../lib/libbsdstat/ + CFLAGS.clang+= -fbracket-depth=512 LIBADD= bsdstat Modified: head/tools/tools/mwl/mwlstats/Makefile ============================================================================== --- head/tools/tools/mwl/mwlstats/Makefile Sat May 16 06:15:49 2015 (r283001) +++ head/tools/tools/mwl/mwlstats/Makefile Sat May 16 06:18:39 2015 (r283002) @@ -6,6 +6,7 @@ MAN= SRCS= main.c mwlstats.c LIBADD= bsdstat +CFLAGS+=-I${.CURDIR}/../../../../lib/libbsdstat/ .include Modified: head/tools/tools/net80211/wlanstats/Makefile ============================================================================== --- head/tools/tools/net80211/wlanstats/Makefile Sat May 16 06:15:49 2015 (r283001) +++ head/tools/tools/net80211/wlanstats/Makefile Sat May 16 06:18:39 2015 (r283002) @@ -6,6 +6,7 @@ PROG= wlanstats BINDIR= /usr/local/bin MAN= LIBADD= bsdstat +CFLAGS+=-I${.CURDIR}/../../../../lib/libbsdstat/ SRCS= wlanstats.c main.c Modified: head/tools/tools/npe/npestats/Makefile ============================================================================== --- head/tools/tools/npe/npestats/Makefile Sat May 16 06:15:49 2015 (r283001) +++ head/tools/tools/npe/npestats/Makefile Sat May 16 06:18:39 2015 (r283002) @@ -5,5 +5,6 @@ SRCS= main.c npestats.c BINDIR= /usr/local/bin MAN= LIBADD= bsdstat +CFLAGS+=-I${.CURDIR}/../../../../lib/libbsdstat/ .include