Android: Add PLATFORM_VERSION to VERSION_STR_POSTFIX definition
authorDmitry Shmidt <dimitrysh@google.com>
Sat, 25 Feb 2012 15:35:44 +0000 (17:35 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 25 Feb 2012 16:22:38 +0000 (18:22 +0200)
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
hostapd/Android.mk
wpa_supplicant/Android.mk

index e394033..4470b9f 100644 (file)
@@ -13,6 +13,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\"
 
index 2d0a727..1080ef0 100644 (file)
@@ -31,6 +31,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=\"wpa_supplicant\"