summaryrefslogtreecommitdiff
path: root/wl1271/wpa_supplicant_lib/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'wl1271/wpa_supplicant_lib/Android.mk')
-rw-r--r--wl1271/wpa_supplicant_lib/Android.mk7
1 files changed, 1 insertions, 6 deletions
diff --git a/wl1271/wpa_supplicant_lib/Android.mk b/wl1271/wpa_supplicant_lib/Android.mk
index cd1d4c26..d0b756f6 100644
--- a/wl1271/wpa_supplicant_lib/Android.mk
+++ b/wl1271/wpa_supplicant_lib/Android.mk
@@ -15,11 +15,6 @@
#
LOCAL_PATH := $(call my-dir)
-# This makefile is only included if BOARD_WLAN_TI_STA_DK_ROOT is set,
-# and if we're not building for the simulator.
-ifndef BOARD_WLAN_TI_STA_DK_ROOT
- $(error BOARD_WLAN_TI_STA_DK_ROOT must be defined when including this makefile)
-endif
ifeq ($(TARGET_SIMULATOR),true)
$(error This makefile must not be included when building the simulator)
endif
@@ -43,7 +38,7 @@ WPA_SUPPL_DIR_INCLUDE += $(WPA_SUPPL_DIR)/src \
$(WPA_SUPPL_DIR)/src/wps
endif
-DK_ROOT = $(BOARD_WLAN_TI_STA_DK_ROOT)
+DK_ROOT = hardware/ti/wlan/$(BOARD_WLAN_DEVICE)
OS_ROOT = $(DK_ROOT)/platforms
STAD = $(DK_ROOT)/stad
UTILS = $(DK_ROOT)/utils