aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2011-10-21 14:26:35 (GMT)
committerJouni Malinen <j@w1.fi>2011-10-21 15:59:42 (GMT)
commit8f5b9aa19a010b5cb2d10b5ddc19eba830492692 (patch)
tree2235ad1be7bb34d764e4499bc5a69d964e855d39 /hostapd
parent9aa10e2b2784eb658392994798ded5277543dd0a (diff)
downloadhostap-8f5b9aa19a010b5cb2d10b5ddc19eba830492692.zip
hostap-8f5b9aa19a010b5cb2d10b5ddc19eba830492692.tar.gz
hostap-8f5b9aa19a010b5cb2d10b5ddc19eba830492692.tar.bz2
Set ANDROID_LOG_NAME depending on application
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Diffstat (limited to 'hostapd')
-rw-r--r--hostapd/Android.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/hostapd/Android.mk b/hostapd/Android.mk
index aa9d5ba..2b53f03 100644
--- a/hostapd/Android.mk
+++ b/hostapd/Android.mk
@@ -13,6 +13,9 @@ include $(LOCAL_PATH)/.config
# To ignore possible wrong network configurations
L_CFLAGS = -DWPA_IGNORE_CONFIG_ERRORS
+# Set Android log name
+L_CFLAGS += -DANDROID_LOG_NAME=\"hostapd\"
+
# To force sizeof(enum) = 4
ifeq ($(TARGET_ARCH),arm)
L_CFLAGS += -mabi=aapcs-linux