mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 06:03:36 -04:00
typeC: import correct Modules.symvers in GKI build mode
When importing the Modules.symvers in fix path, the GKI module will import an incorrect one and cause module load fail in gki kernel mode. Change-Id: I1c089b5e9dbbe4b4922921df6f3923cb9c748d2e Reviewed-on: https://gerrit.mot.com/2090513 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Minghui Wei <weimh1@motorola.com> Reviewed-by: Huosheng Liao <liaohs@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
da19276c28
commit
37e858962c
1 changed files with 5 additions and 0 deletions
|
|
@ -1,6 +1,11 @@
|
|||
DLKM_DIR := motorola/kernel/modules
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
ifeq ($(USB_POWER_DELIVERY),true)
|
||||
LOCAL_ADDITIONAL_DEPENDENCIES := $(KERNEL_MODULES_OUT)/adapter_class.ko
|
||||
endif
|
||||
KBUILD_OPTIONS_GKI += GKI_OBJ_MODULE_DIR=gki
|
||||
|
||||
ifeq ($(TCPC_SGM7220),true)
|
||||
KERNEL_CFLAGS += CONFIG_TCPC_SGM7220=y
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue