mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 13:49:24 -04:00
mmi_info: use ANDROID_BUILD_TOP in Kbuild
fix the compile error during GKI kernel 5.4: /home/xizx/work/moto/8350/8350_mainline_0724-new/kernel/msm-5.4/../../motorola/kernel/modules/drivers/mmi_info/mmi_ram_info.c:17:10: fatal error: 'linux/mmi_annotate.h' file not found /home/xizx/work/moto/8350/8350_mainline_0724-new/kernel/msm-5.4/../../motorola/kernel/modules/drivers/mmi_info/mmi_storage_info.c:19:10: fatal error: 'linux/mmi_annotate.h' file not found /home/xizx/work/moto/8350/8350_mainline_0724-new/kernel/msm-5.4/../../motorola/kernel/modules/drivers/mmi_info/mmi_boot_info.c:31:10: fatal error: 'soc/qcom/mmi_boot_info.h' file not found Change-Id: I1a8c6b103e6cb1c77df6a428154d47dfc74a734a Reviewed-on: https://gerrit.mot.com/1707443 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Zhenxin Xi <xizx@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
be58275032
commit
10565c3a46
1 changed files with 1 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
# add -Wall to try to catch everything we can.
|
||||
EXTRA_CFLAGS += -Wall
|
||||
EXTRA_CFLAGS += -I$(TOP)/motorola/kernel/modules/include
|
||||
EXTRA_CFLAGS += -I$(ANDROID_BUILD_TOP)/motorola/kernel/modules/include
|
||||
|
||||
mmi_info-objs += mmi_storage_info.o
|
||||
mmi_info-objs += mmi_ram_info.o
|
||||
|
|
|
|||
Loading…
Reference in a new issue