summaryrefslogtreecommitdiff
path: root/Android.mk
diff options
context:
space:
mode:
authorAmarnath Hullur Subramanyam <amarnath@qca.qualcomm.com>2015-01-21 14:14:40 -0800
committerAnjaneeDevi Kapparapu <c_akappa@qti.qualcomm.com>2015-01-22 14:38:45 +0530
commite0ced07fefbe5e7bc9683973c62dfef3218b3913 (patch)
tree43bf1a318560a1b4c0473fb9ec0358ef41a4b0c5 /Android.mk
parent2ffdbd8cf1cc3728f4e1a2c74738889fe2aae8e2 (diff)
wlan: Build tools only if ONE_SHOT_MAKEFILE not present
Tools component which is part of user space should be built with full build as it has dependency on other user component. In case of secondary boot image all the user component are not built and only kernel component should be built. Using the variable ONE_SHOT_MAKEFILE to differentiate that. Change-Id: I0d4fbbf41090d174bc30b8a5ef165341a79794de CRs-Fixed: 776636
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index a96352f1ff15..3978ea6277ec 100644
--- a/Android.mk
+++ b/Android.mk
@@ -68,10 +68,14 @@ LOCAL_MODULE_DEBUG_ENABLE := true
LOCAL_MODULE_PATH := $(TARGET_OUT)/lib/modules/$(WLAN_CHIPSET)
include $(DLKM_DIR)/AndroidKernelModule.mk
ifeq ($(WLAN_OPEN_SOURCE),1)
+# Build the tools component only if ONE_SHOT_MAKEFILE
+# variable is not defined.
+ifeq ($(ONE_SHOT_MAKEFILE),)
include $(WLAN_BLD_DIR)/qcacld-2.0/tools/athdiag/Android.mk
include $(WLAN_BLD_DIR)/qcacld-2.0/tools/fwdebuglog/Android.mk
include $(WLAN_BLD_DIR)/qcacld-2.0/tools/pktlog/Android.mk
endif
+endif
###########################################################
# Create Symbolic link for built <WLAN_CHIPSET>_wlan.ko driver from