mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
qpnp-power-on-mmi: fix build error on user build
"kernel_halt" is not in Google's GKI whitelist, add modules.symvers of QGKI to fix build error on GKI build. This module is no must in GKI, it doesn't matter that fails to load Change-Id: I77c89c1236bcd2352b85b69e180687744e1f59b4 Reviewed-on: https://gerrit.mot.com/1807425 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Huosheng Liao <liaohs@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
023c9a3b89
commit
669ca8d8d6
2 changed files with 2 additions and 0 deletions
|
|
@ -5,5 +5,6 @@ include $(CLEAR_VARS)
|
|||
LOCAL_MODULE := qpnp-power-on-mmi.ko
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_MODULE_PATH := $(KERNEL_MODULES_OUT)
|
||||
KBUILD_OPTIONS_GKI += MODULE_KERNEL_VERSION=$(TARGET_KERNEL_VERSION)
|
||||
include $(DLKM_DIR)/AndroidKernelModule.mk
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
# add -Wall to try to catch everything we can.
|
||||
EXTRA_CFLAGS += -Wall
|
||||
EXTRA_CFLAGS += -I$(TOP)/motorola/kernel/modules/include
|
||||
KBUILD_EXTRA_SYMBOLS += $(CURDIR)/../../kernel/msm-$(MODULE_KERNEL_VERSION)/Module.symvers
|
||||
|
||||
obj-m += qpnp-power-on-mmi.o
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue