mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
Fix goodix touch SPI config compile error
Moto driver module compiled using qcom makefile from 8450/8475/8550 and it does not support KERNEL_CFLAGS,so in these plaform we use KBUILD_OPTIONS. Change-Id: I6dbcf28b194201ac19a40e891683acc667893b34 Signed-off-by: Wenge Zhu <zhuwg1@motorola.com> Reviewed-on: https://gerrit.mot.com/2281001 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Ping Xiao <xiaoping@motorola.com> Reviewed-by: Jianqi Yang <yangj@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
fc65cf4672
commit
cfa37b64df
1 changed files with 4 additions and 0 deletions
|
|
@ -10,8 +10,12 @@ ifeq ($(DRM_PANEL_NOTIFICATIONS),true)
|
|||
endif
|
||||
|
||||
ifeq ($(TOUCHSCREEN_GOODIX_BRL_SPI),true)
|
||||
ifeq ($(call is-board-platform-in-list,taro kalama), true)
|
||||
KBUILD_OPTIONS += CONFIG_TOUCHSCREEN_GOODIX_BRL_SPI=y
|
||||
else
|
||||
KERNEL_CFLAGS += CONFIG_TOUCHSCREEN_GOODIX_BRL_SPI=y
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(GTP_LIMIT_USE_SUPPLIER),true)
|
||||
KBUILD_OPTIONS += CONFIG_GTP_LIMIT_USE_SUPPLIER=y
|
||||
|
|
|
|||
Loading…
Reference in a new issue