mac80211: Enable rt2x00 debug if CONFIG_PACKAGE_RT2X00_DEBUG is selected
authorGabor Juhos <juhosg@openwrt.org>
Wed, 31 Mar 2010 09:58:26 +0000 (09:58 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Wed, 31 Mar 2010 09:58:26 +0000 (09:58 +0000)
When CONFIG_PACKAGE_RT2X00_DEBUG is selected we should compile rt2x00 with
the CONFIG_RT2X00_DEBUG flag set to enable debug output.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
SVN-Revision: 20629

package/mac80211/Makefile

index 8cec1b8ba3bda5d49825316f59f5c91589e45fda..d7fde6b25bcb8003734f802b55188a8dc1c03a73 100644 (file)
@@ -618,6 +618,7 @@ BUILDFLAGS:= \
        $(if $(CONFIG_ATH_USER_REGD),-DATH_USER_REGD=1) \
        $(if $(CONFIG_PACKAGE_ATH9K_USE_MINSTREL),-DATH9K_USE_MINSTREL) \
        $(if $(CONFIG_PACKAGE_RT2X00_LIB_DEBUGFS),-DCONFIG_RT2X00_LIB_DEBUGFS) \
+       $(if $(CONFIG_PACKAGE_RT2X00_DEBUG),-DCONFIG_RT2X00_DEBUG) \
        $(if $(NEED_RT2X00_LIB_HT),-DCONFIG_RT2X00_LIB_HT) \
        $(if $(NEED_RT2X00_LIB_CRYPTO),-DCONFIG_RT2X00_LIB_CRYPTO) \
        $(if $(NEED_RT2X00_LIB_FIRMWARE),-DCONFIG_RT2X00_LIB_FIRMWARE) \