]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Android: wpa_supplicant: Use Ver 0.8.X as default
authorDmitry Shmidt <dimitrysh@google.com>
Fri, 22 Nov 2013 18:37:07 +0000 (10:37 -0800)
committerJouni Malinen <j@w1.fi>
Fri, 22 Nov 2013 18:42:00 +0000 (20:42 +0200)
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Android.mk

index c2cc68b5d466fe440a7bd46ad9db62f9384dc40d..4a74b248d5b1265ec1b4d8eb6c4fed410fbd2747 100644 (file)
@@ -1,3 +1,16 @@
+LOCAL_PATH:= $(call my-dir)
+
+ifndef WPA_SUPPLICANT_VERSION
+WPA_SUPPLICANT_VERSION := VER_0_8_X
+endif
+ifeq ($(WPA_SUPPLICANT_VERSION),VER_0_8_X)
+# The order of the 2 Android.mks does matter!
+# TODO: Clean up the Android.mks, reset all the temporary variables at the
+# end of each Android.mk, so that one Android.mk doesn't depend on variables
+# set up in the other Android.mk.
+include $(LOCAL_PATH)/hostapd/Android.mk \
+        $(LOCAL_PATH)/wpa_supplicant/Android.mk
+endif
 ifeq ($(WPA_SUPPLICANT_VERSION),VER_2_1_DEVEL)
-    include $(call all-subdir-makefiles)
+include $(call all-subdir-makefiles)
 endif