From owner-svn-src-user@FreeBSD.ORG Mon Aug 29 06:01:35 2011 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA45A1065673; Mon, 29 Aug 2011 06:01:35 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id AAB768FC15; Mon, 29 Aug 2011 06:01:35 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id p7T61ZRe083050; Mon, 29 Aug 2011 06:01:35 GMT (envelope-from adrian@svn.freebsd.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id p7T61ZE7083048; Mon, 29 Aug 2011 06:01:35 GMT (envelope-from adrian@svn.freebsd.org) Message-Id: <201108290601.p7T61ZE7083048@svn.freebsd.org> From: Adrian Chadd Date: Mon, 29 Aug 2011 06:01:35 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r225242 - user/adrian/if_ath_tx/sys/modules/ath X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Aug 2011 06:01:35 -0000 Author: adrian Date: Mon Aug 29 06:01:35 2011 New Revision: 225242 URL: http://svn.freebsd.org/changeset/base/225242 Log: .. and make this line up with what sys/modules/wlan/ does. Modified: user/adrian/if_ath_tx/sys/modules/ath/Makefile Modified: user/adrian/if_ath_tx/sys/modules/ath/Makefile ============================================================================== --- user/adrian/if_ath_tx/sys/modules/ath/Makefile Mon Aug 29 05:59:49 2011 (r225241) +++ user/adrian/if_ath_tx/sys/modules/ath/Makefile Mon Aug 29 06:01:35 2011 (r225242) @@ -140,19 +140,21 @@ SRCS+= dfs_null.c CFLAGS+= -I. -I${.CURDIR}/../../dev/ath -I${.CURDIR}/../../dev/ath/ath_hal +.if !defined(KERNBUILDDIR) opt_ah.h: - echo '#define AH_SUPPORT_AR5416 1' > $@ - echo '#define AH_AR5416_INTERRUPT_MITIGATION 1' >> $@ - echo '#define AH_DEBUG 1' >> $@ + echo '#define AH_SUPPORT_AR5416 1' > ${.TARGET} + echo '#define AH_AR5416_INTERRUPT_MITIGATION 1' >> ${.TARGET} + echo '#define AH_DEBUG 1' >> ${.TARGET} opt_ath.h: - echo '#define ATH_DEBUG 1' > $@ - echo '#define ATH_DIAGAPI 1' >> $@ - echo '#define ATH_ENABLE_11N 1' >> $@ + echo '#define ATH_DEBUG 1' > ${.TARGET} + echo '#define ATH_DIAGAPI 1' >> ${.TARGET} + echo '#define ATH_ENABLE_11N 1' >> ${.TARGET} opt_wlan.h: - echo '#define IEEE80211_DEBUG 1' > $@ - echo '#define IEEE80211_AMPDU_AGE 1'>> $@ - echo '#define IEEE80211_SUPPORT_MESH 1'>> $@ + echo '#define IEEE80211_DEBUG 1' > ${.TARGET} + echo '#define IEEE80211_AMPDU_AGE 1'>> ${.TARGET} + echo '#define IEEE80211_SUPPORT_MESH 1'>> ${.TARGET} +.endif .include