mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 12:58:12 -04:00
Modify touchscreen class compilation errors on V(CR).
1. TOP -> ANDROID_BUILD_TOP to solve the error that the .h file cannot be found. 2. touchscreen_class depended on sensors_class module symbol, so it must define the dependency in makefile. Change-Id: Ibdc7a761b1cdce2678375719f0fe34748639f8fc Reviewed-on: https://gerrit.mot.com/1718150 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Jichao Zou <zoujc@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
90049fc45a
commit
fbe4fb48e4
2 changed files with 2 additions and 1 deletions
|
|
@ -17,4 +17,5 @@ include $(CLEAR_VARS)
|
|||
LOCAL_MODULE := touchscreen_mmi.ko
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_MODULE_PATH := $(KERNEL_MODULES_OUT)
|
||||
LOCAL_ADDITIONAL_DEPENDENCIES := $(KERNEL_MODULES_OUT)/sensors_class.ko
|
||||
include $(DLKM_DIR)/AndroidKernelModule.mk
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# add -Wall to try to catch everything we can.
|
||||
EXTRA_CFLAGS += -Wall
|
||||
EXTRA_CFLAGS += -I$(TOP)/motorola/kernel/modules/include
|
||||
EXTRA_CFLAGS += -I$(ANDROID_BUILD_TOP)/motorola/kernel/modules/include
|
||||
|
||||
ifneq ($(filter m y, $(CONFIG_PANEL_NOTIFICATIONS)),)
|
||||
EXTRA_CFLAGS += -DCONFIG_PANEL_NOTIFICATIONS
|
||||
|
|
|
|||
Loading…
Reference in a new issue