mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 13:49:24 -04:00
goodix_fod_mmi.ko: Update Makefile to compat kernel 5.10
motorola/kernel/modules/drivers/input/misc/goodix_fod_mmi/Makefile: updated to compat kernel 5.10 For Rogue, on SM8450, with kernel 5.10 based, kernel modules should use the new version of Makefile. Change-Id: I5094768f8d86179b981c07a1a15710555d3bad83 Signed-off-by: chengql2 <chengql2@motorola.com> Reviewed-on: https://gerrit.mot.com/2021379 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Guobin Zhang <zhanggb@motorola.com> Reviewed-by: Shunde Jiang <jiangsd2@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
6493ee9055
commit
61f8bb0bb7
1 changed files with 9 additions and 5 deletions
|
|
@ -1,10 +1,14 @@
|
|||
KERNEL_SRC ?= /lib/modules/$(shell uname -r)/build
|
||||
all: modules
|
||||
|
||||
all:
|
||||
$(MAKE) -C $(KERNEL_SRC) M=$(shell pwd) modules $(KBUILD_OPTIONS)
|
||||
modules:
|
||||
$(MAKE) -C $(KERNEL_SRC) M=$(M) modules $(KBUILD_OPTIONS)
|
||||
|
||||
modules_install:
|
||||
$(MAKE) INSTALL_MOD_STRIP=1 -C $(KERNEL_SRC) M=$(shell pwd) modules_install
|
||||
$(MAKE) INSTALL_MOD_STRIP=1 -C $(KERNEL_SRC) M=$(M) modules_install
|
||||
|
||||
%:
|
||||
$(MAKE) -C $(KERNEL_SRC) M=$(M) $@ $(KBUILD_OPTIONS)
|
||||
|
||||
clean:
|
||||
$(MAKE) -C $(KERNEL_SRC) M=$(PWD) clean
|
||||
rm -f *.o *.ko *.mod.c *.mod.o *~ .*.cmd Module.symvers
|
||||
rm -rf .tmp_versions
|
||||
|
|
|
|||
Loading…
Reference in a new issue