]> git.ipfire.org Git - thirdparty/hostap.git/blobdiff - Android.mk
Use a shared helper function for RSN supplicant capabilities
[thirdparty/hostap.git] / Android.mk
index c2cc68b5d466fe440a7bd46ad9db62f9384dc40d..bd7a4097444b46a476096632536091bcd273e2af 100644 (file)
@@ -1,3 +1,10 @@
-ifeq ($(WPA_SUPPLICANT_VERSION),VER_2_1_DEVEL)
-    include $(call all-subdir-makefiles)
+LOCAL_PATH:= $(call my-dir)
+
+ifneq ($(filter VER_0_8_X VER_2_1_DEVEL,$(WPA_SUPPLICANT_VERSION)),)
+# 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