OSDN Git Service

add private_lib for NL80211 driver.
[android-x86/external-wpa_supplicant_8.git] / Android.mk
index 20ab1c0..fad8ab4 100644 (file)
@@ -1,6 +1,14 @@
+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)
-    include $(call all-subdir-makefiles)
+# 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)/private_lib/Android.mk \
+        $(LOCAL_PATH)/wpa_supplicant/Android.mk
 endif