Android: Fix compilation without BOARD_WPA_SUPPLICANT_DRIVER
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
This commit is contained in:
parent
e40634e654
commit
60cdfd7e25
1 changed files with 2 additions and 6 deletions
|
@ -8,14 +8,12 @@
|
||||||
LOCAL_PATH := $(call my-dir)
|
LOCAL_PATH := $(call my-dir)
|
||||||
PKG_CONFIG ?= pkg-config
|
PKG_CONFIG ?= pkg-config
|
||||||
|
|
||||||
WPA_BUILD_SUPPLICANT := false
|
|
||||||
ifneq ($(BOARD_WPA_SUPPLICANT_DRIVER),)
|
ifneq ($(BOARD_WPA_SUPPLICANT_DRIVER),)
|
||||||
WPA_BUILD_SUPPLICANT := true
|
|
||||||
CONFIG_DRIVER_$(BOARD_WPA_SUPPLICANT_DRIVER) := y
|
CONFIG_DRIVER_$(BOARD_WPA_SUPPLICANT_DRIVER) := y
|
||||||
|
else
|
||||||
|
CONFIG_DRIVER_TEST := y
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(WPA_BUILD_SUPPLICANT),true)
|
|
||||||
|
|
||||||
include $(LOCAL_PATH)/android.config
|
include $(LOCAL_PATH)/android.config
|
||||||
|
|
||||||
# To ignore possible wrong network configurations
|
# To ignore possible wrong network configurations
|
||||||
|
@ -1585,8 +1583,6 @@ include $(BUILD_EXECUTABLE)
|
||||||
#
|
#
|
||||||
########################
|
########################
|
||||||
|
|
||||||
endif # ifeq ($(WPA_BUILD_SUPPLICANT),true)
|
|
||||||
|
|
||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
LOCAL_MODULE = libwpa_client
|
LOCAL_MODULE = libwpa_client
|
||||||
LOCAL_CFLAGS = $(L_CFLAGS)
|
LOCAL_CFLAGS = $(L_CFLAGS)
|
||||||
|
|
Loading…
Reference in a new issue