diff --git a/hostapd/Android.mk b/hostapd/Android.mk index e394033da..4470b9f72 100644 --- a/hostapd/Android.mk +++ b/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\" diff --git a/wpa_supplicant/Android.mk b/wpa_supplicant/Android.mk index 2d0a72747..1080ef0ab 100644 --- a/wpa_supplicant/Android.mk +++ b/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\"