]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
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>
Thu, 9 Aug 2012 20:05:43 +0000 (23:05 +0300)
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
(cherry picked from commit 1e1411b04fa1be14e355afce3cfac7218cb4886c)

hostapd/Android.mk
wpa_supplicant/Android.mk

index c24089f27d06b068f3f56582c57a0b9fb4c18d44..543c15231403bfd0cd385799d01dc23038cb43d5 100644 (file)
@@ -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\"
 
index 105b9bc2e8215d09022fbfdb590ab345e6f239d2..00f4602cc8be9a0fecbb940f3091600f98c84370 100644 (file)
@@ -21,6 +21,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\"