From e0ced07fefbe5e7bc9683973c62dfef3218b3913 Mon Sep 17 00:00:00 2001 From: Amarnath Hullur Subramanyam Date: Wed, 21 Jan 2015 14:14:40 -0800 Subject: 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 --- Android.mk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Android.mk') 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.ko driver from -- cgit v1.2.3