]> 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>
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 e394033da05ea3ee01f14903db840a72038f53ae..4470b9f72caaed222000b090f134b488963940f7 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 2d0a727479c76c2142b7e60b1e1e44f72750d7a8..1080ef0abc422e285b5c62aefe260a47aa4476a4 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\"