summaryrefslogtreecommitdiff
path: root/package/hostapd/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-02-20 23:41:52 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-02-20 23:41:52 +0000
commita77cf0cd624f23237a3d40ae737fc607d7e03a5c (patch)
tree31bb4639ec82d75cef594481e96ef010f4940498 /package/hostapd/Makefile
parent67d0f8af26d9beee2396702fa66a0bf2bce4c446 (diff)
downloadmtk-20170518-a77cf0cd624f23237a3d40ae737fc607d7e03a5c.zip
mtk-20170518-a77cf0cd624f23237a3d40ae737fc607d7e03a5c.tar.gz
mtk-20170518-a77cf0cd624f23237a3d40ae737fc607d7e03a5c.tar.bz2
hostapd: add configurable debug message minimum priority to cut down on bloat generated by excessive debug messages
SVN-Revision: 30666
Diffstat (limited to 'package/hostapd/Makefile')
-rw-r--r--package/hostapd/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/package/hostapd/Makefile b/package/hostapd/Makefile
index 774d08e..782cf73 100644
--- a/package/hostapd/Makefile
+++ b/package/hostapd/Makefile
@@ -53,6 +53,8 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSI
include $(INCLUDE_DIR)/package.mk
+STAMP_CONFIGURED:=$(STAMP_CONFIGURED)_$(CONFIG_WPA_MSG_MIN_PRIORITY)
+
ifneq ($(CONFIG_DRIVER_11N_SUPPORT),)
HOSTAPD_IEEE80211N:=y
endif
@@ -218,7 +220,8 @@ TARGET_CPPFLAGS := \
$(TARGET_CPPFLAGS) \
-I$(STAGING_DIR)/usr/include/madwifi \
-DCONFIG_LIBNL20 \
- -D_GNU_SOURCE
+ -D_GNU_SOURCE \
+ $(if $(CONFIG_WPA_MSG_MIN_PRIORITY),-DCONFIG_MSG_MIN_PRIORITY=$(CONFIG_WPA_MSG_MIN_PRIORITY))
TARGET_CFLAGS += -ffunction-sections -fdata-sections
TARGET_LDFLAGS += -Wl,--gc-sections