summaryrefslogtreecommitdiff
path: root/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/Android.mk b/Android.mk
index cb1010a..bba4a38 100644
--- a/Android.mk
+++ b/Android.mk
@@ -1,4 +1,8 @@
#set TARGET_USES_HARDWARE_QCOM_WLAN to false to disable this project.
ifneq ($(TARGET_USES_HARDWARE_QCOM_WLAN),false)
-include $(call all-subdir-makefiles)
+ ifneq ($(filter wcn6740,$(BOARD_WLAN_CHIP)),)
+ include $(call all-named-subdir-makefiles,wcn6740)
+ else
+ include $(call all-named-subdir-makefiles,legacy)
+ endif
endif