mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 00:00:00 -04:00
driver/sar-sensor: build error on user build
build error:
ERROR: "sensors_classdev_unregister" [../../motorola/kernel/modules
/drivers/misc/sx937x/sx937x_sar.ko] undefined!
ERROR: "sensors_classdev_register" [../../motorola/kernel/modules
/drivers/misc/sx937x/sx937x_sar.ko] undefined!
sar-sensor based on sensors_class.ko,need add dependency to
make sure sensors_calss build before sarsensor:
LOCAL_ADDITIONAL_DEPENDENCIES := $(KERNEL_MODULES_OUT)/sensors_class.ko
Change-Id: Id4f7dbf73e67974fc40612327f473cdbdc9bc417
Signed-off-by: weimh1 <weimh1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1793323
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
5fa133d16c
commit
b61eb9bbf2
1 changed files with 1 additions and 0 deletions
|
|
@ -5,6 +5,7 @@ include $(CLEAR_VARS)
|
|||
LOCAL_MODULE := sx937x_sar.ko
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_MODULE_PATH := $(KERNEL_MODULES_OUT)
|
||||
LOCAL_ADDITIONAL_DEPENDENCIES := $(KERNEL_MODULES_OUT)/sensors_class.ko
|
||||
KBUILD_OPTIONS_GKI += GKI_OBJ_MODULE_DIR=gki
|
||||
include $(DLKM_DIR)/AndroidKernelModule.mk
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue