Android: Fix compilation without BOARD_WPA_SUPPLICANT_DRIVER

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
This commit is contained in:
Dmitry Shmidt 2012-06-11 12:51:06 -07:00 committed by Jouni Malinen
parent e40634e654
commit 60cdfd7e25

View file

@ -8,14 +8,12 @@
LOCAL_PATH := $(call my-dir)
PKG_CONFIG ?= pkg-config
WPA_BUILD_SUPPLICANT := false
ifneq ($(BOARD_WPA_SUPPLICANT_DRIVER),)
WPA_BUILD_SUPPLICANT := true
CONFIG_DRIVER_$(BOARD_WPA_SUPPLICANT_DRIVER) := y
else
CONFIG_DRIVER_TEST := y
endif
ifeq ($(WPA_BUILD_SUPPLICANT),true)
include $(LOCAL_PATH)/android.config
# To ignore possible wrong network configurations
@ -1585,8 +1583,6 @@ include $(BUILD_EXECUTABLE)
#
########################
endif # ifeq ($(WPA_BUILD_SUPPLICANT),true)
include $(CLEAR_VARS)
LOCAL_MODULE = libwpa_client
LOCAL_CFLAGS = $(L_CFLAGS)