diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-02-20 23:41:52 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-02-20 23:41:52 +0000 |
commit | e7fe3729df80f190f6bcaa78d815df75104dc85e (patch) | |
tree | 57a7d5400ddf10f112255ab48f2cfc72fa4f43f4 /package/hostapd/Makefile | |
parent | 5cc2f798b4a303e67ce034caf77fe40e525355c5 (diff) |
hostapd: add configurable debug message minimum priority to cut down on bloat generated by excessive debug messages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30666 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/hostapd/Makefile')
-rw-r--r-- | package/hostapd/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/package/hostapd/Makefile b/package/hostapd/Makefile index 774d08e13..782cf73f1 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 |