blob: ca7a62067de2bc6e5f7c301e8e89dbd62e3ea0d7 [file] [log] [blame]
Sunil Ravia04bd252022-05-02 22:54:18 -07001S_LOCAL_PATH := $(call my-dir)
Ying Wang62b90b32012-11-20 18:04:25 -08002
Bill Yang08f249a2024-10-08 07:00:08 +00003ifdef FORCE_USE_ANDROIDMK_FOR_WPA
Ying Wang02552fd2013-11-25 10:45:06 -08004ifneq ($(filter VER_0_8_X VER_2_1_DEVEL,$(WPA_SUPPLICANT_VERSION)),)
Ying Wang62b90b32012-11-20 18:04:25 -08005# The order of the 2 Android.mks does matter!
6# TODO: Clean up the Android.mks, reset all the temporary variables at the
7# end of each Android.mk, so that one Android.mk doesn't depend on variables
8# set up in the other Android.mk.
Sunil Ravia04bd252022-05-02 22:54:18 -07009include $(S_LOCAL_PATH)/hostapd/Android.mk \
10 $(S_LOCAL_PATH)/wpa_supplicant/Android.mk
11ifneq ($(TARGET_BUILD_VARIANT), user)
12ifeq ($(shell test $(PLATFORM_VERSION_LAST_STABLE) -ge 8 ; echo $$?), 0)
13include $(S_LOCAL_PATH)/hs20/client/Android.mk
14endif #End of Check for platform version
15endif #End of Check for target build variant
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -070016endif
Bill Yang08f249a2024-10-08 07:00:08 +000017endif