diff options
author | Ashok Lachanolla <quic_alachano@quicinc.com> | 2022-12-06 14:35:51 +0530 |
---|---|---|
committer | Ashok Lachanolla <quic_alachano@quicinc.com> | 2022-12-06 14:35:51 +0530 |
commit | 1752e485098ab713433e219119044b0634dc3372 (patch) | |
tree | 482070d0e2597175dbc9becb7fbbb07f2e0cef72 | |
parent | a25b5c7cdc58503c51345a06629df5d7e4ef1e6f (diff) | |
download | touch-1752e485098ab713433e219119044b0634dc3372.tar.gz |
touch-drivers: Updated hardcoded path with a macro
Change-Id: Ie6903bf65f98cc5f7b3e8ab55412803400c93c46
Signed-off-by: Ashok Lachanolla <quic_alachano@quicinc.com>
-rw-r--r-- | Android.mk | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -13,11 +13,13 @@ ifeq ($(TOUCH_DLKM_ENABLE), true) LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) + BOARD_OPENSOURCE_DIR ?= vendor/qcom/opensource + # This makefile is only for DLKM ifneq ($(findstring vendor,$(LOCAL_PATH)),) ifneq ($(findstring opensource,$(LOCAL_PATH)),) - TOUCH_BLD_DIR := $(shell pwd)/vendor/qcom/opensource/touch-drivers + TOUCH_BLD_DIR := $(shell pwd)/$(BOARD_OPENSOURCE_DIR)/touch-drivers endif # opensource DLKM_DIR := $(TOP)/$(BOARD_COMMON_DIR)/dlkm |