aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2012-02-25 15:35:44 (GMT)
committerJouni Malinen <j@w1.fi>2012-08-09 20:05:43 (GMT)
commit142ee90095a36fd2c32f6d81da197968cd286eec (patch)
treedb762b42aee06cc7f6c7098faf41ac09687229c5 /hostapd
parentc55a88b36d46079e9895ab1bc40c743e0ff06ded (diff)
downloadhostap-142ee90095a36fd2c32f6d81da197968cd286eec.zip
hostap-142ee90095a36fd2c32f6d81da197968cd286eec.tar.gz
hostap-142ee90095a36fd2c32f6d81da197968cd286eec.tar.bz2
Android: Add PLATFORM_VERSION to VERSION_STR_POSTFIX definition
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com> (cherry picked from commit 1e1411b04fa1be14e355afce3cfac7218cb4886c)
Diffstat (limited to 'hostapd')
-rw-r--r--hostapd/Android.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/hostapd/Android.mk b/hostapd/Android.mk
index c24089f..543c152 100644
--- a/hostapd/Android.mk
+++ b/hostapd/Android.mk
@@ -19,6 +19,8 @@ include $(LOCAL_PATH)/android.config
# To ignore possible wrong network configurations
L_CFLAGS = -DWPA_IGNORE_CONFIG_ERRORS
+L_CFLAGS += -DVERSION_STR_POSTFIX=\"-$(PLATFORM_VERSION)\"
+
# Set Android log name
L_CFLAGS += -DANDROID_LOG_NAME=\"hostapd\"