summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid (Google) Code Review <android-gerrit@google.com>2009-12-01 11:23:12 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2009-12-01 11:23:12 -0800
commit14452a4c5d7ababa734496b68771f3217231afeb (patch)
tree532456057f82c4733df1c87b0b1f79a861f86bc0
parentbdccea915679fb5e4d7dcdd99b1a5cb57027db31 (diff)
parent00ce79b970491ea6a3cf79c05092a9fa499cfad4 (diff)
downloadti-14452a4c5d7ababa734496b68771f3217231afeb.tar.gz
Merge change I00ce79b9
* changes: tnetw1251: Force using of wpa_supplicant 0.5.X version
-rw-r--r--sta_dk_4_0_4_32/wpa_supplicant_lib/Android.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/sta_dk_4_0_4_32/wpa_supplicant_lib/Android.mk b/sta_dk_4_0_4_32/wpa_supplicant_lib/Android.mk
index 7f5a5cb..c8b760a 100644
--- a/sta_dk_4_0_4_32/wpa_supplicant_lib/Android.mk
+++ b/sta_dk_4_0_4_32/wpa_supplicant_lib/Android.mk
@@ -24,6 +24,13 @@ ifeq ($(TARGET_SIMULATOR),true)
$(error This makefile must not be included when building the simulator)
endif
+ifndef WPA_SUPPLICANT_VERSION
+WPA_SUPPLICANT_VERSION := VER_0_5_X
+endif
+ifneq ($(WPA_SUPPLICANT_VERSION),VER_0_5_X)
+ $(error This wlan can be used only with 0.5.X version of the wpa_supplicant)
+endif
+
DK_ROOT = $(BOARD_WLAN_TI_STA_DK_ROOT)
OS_ROOT = $(BOARD_WLAN_TI_STA_DK_ROOT)/pform
COMMON = $(DK_ROOT)/common
@@ -129,6 +136,7 @@ INCLUDES = $(COMMON)/inc \
$(DK_ROOT)/../lib
L_CFLAGS += -DCONFIG_DRIVER_CUSTOM -DHOST_COMPILE
+L_CFLAGS += -DWPA_SUPPLICANT_VER=$(WPA_SUPPLICANT_VERSION)
ifeq ($(notdir $(BOARD_WLAN_TI_STA_DK_ROOT)),sta_dk_5_0_0_94)
L_CFLAGS += -DSTA_DK_VER_5_0_0_94
endif