Android: Move WPA_BUILD check in Android.mk
This is part of commit e61a2d6db6113da5fad91660764afdb0596dbc46 from Android wpa_supplicant_8.git. Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
This commit is contained in:
parent
4482f1fbc4
commit
20b2161d5b
2 changed files with 4 additions and 4 deletions
|
@ -6,6 +6,8 @@ ifneq ($(BOARD_HOSTAPD_DRIVER),)
|
||||||
CONFIG_DRIVER_$(BOARD_HOSTAPD_DRIVER) := y
|
CONFIG_DRIVER_$(BOARD_HOSTAPD_DRIVER) := y
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(WPA_BUILD_HOSTAPD),true)
|
||||||
|
|
||||||
include $(LOCAL_PATH)/.config
|
include $(LOCAL_PATH)/.config
|
||||||
|
|
||||||
# To ignore possible wrong network configurations
|
# To ignore possible wrong network configurations
|
||||||
|
@ -791,8 +793,6 @@ else
|
||||||
OBJS_c += src/utils/edit_simple.c
|
OBJS_c += src/utils/edit_simple.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(WPA_BUILD_HOSTAPD),true)
|
|
||||||
|
|
||||||
########################
|
########################
|
||||||
|
|
||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
|
|
|
@ -24,6 +24,8 @@ ifneq ($(BOARD_WPA_SUPPLICANT_DRIVER),)
|
||||||
CONFIG_DRIVER_$(BOARD_WPA_SUPPLICANT_DRIVER) := y
|
CONFIG_DRIVER_$(BOARD_WPA_SUPPLICANT_DRIVER) := y
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(WPA_BUILD_SUPPLICANT),true)
|
||||||
|
|
||||||
include $(LOCAL_PATH)/.config
|
include $(LOCAL_PATH)/.config
|
||||||
|
|
||||||
# To ignore possible wrong network configurations
|
# To ignore possible wrong network configurations
|
||||||
|
@ -1398,8 +1400,6 @@ ifndef LDO
|
||||||
LDO=$(CC)
|
LDO=$(CC)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(WPA_BUILD_SUPPLICANT),true)
|
|
||||||
|
|
||||||
########################
|
########################
|
||||||
|
|
||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
|
|
Loading…
Reference in a new issue