fix user version build error

When link binary object, panel_register_notifier is undefined,
No kernel symbal table was imported.

Change-Id: I539793e5aa2bd2d27d8ed9b959d9bef86739b26c
Reviewed-on: https://gerrit.mot.com/1957707
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Reviewed-by: Shanshan Dai <daiss1@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
litong20 2021-05-24 09:48:31 +08:00 • committed by litong
commit 4cf1d3ef52
2 changed files with 3 additions and 0 deletions

View file

@ -29,5 +29,6 @@ include $(CLEAR_VARS)
LOCAL_MODULE := ets_fps_mmi.ko
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_PATH := $(ETS_FPS_MMI_MODULE_PATH)
KBUILD_OPTIONS_GKI += MODULE_KERNEL_VERSION=$(TARGET_KERNEL_VERSION)
include $(DLKM_DIR)/AndroidKernelModule.mk

View file

@ -42,3 +42,5 @@ endif
ifneq ($(filter m y, $(CONFIG_NAV_DOUBLE_TAP)),)
EXTRA_CFLAGS += -DCONFIG_NAV_DOUBLE_TAP
endif
KBUILD_EXTRA_SYMBOLS += $(CURDIR)/../../kernel/msm-$(MODULE_KERNEL_VERSION)/Module.symvers