Browse Source

Android: Add PLATFORM_VERSION to VERSION_STR_POSTFIX definition

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Dmitry Shmidt 13 years ago
parent
commit
1e1411b04f
2 changed files with 4 additions and 0 deletions
  1. 2 0
      hostapd/Android.mk
  2. 2 0
      wpa_supplicant/Android.mk

+ 2 - 0
hostapd/Android.mk

@@ -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\"
 

+ 2 - 0
wpa_supplicant/Android.mk

@@ -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\"