mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 06:09:23 -04:00
ibiza:disable power control for chipone FPS
WHY:Makefile is wrong and enables power control for all products WHAT:Modify makefile to enable power control only on Hawao Change-Id: If50e4154c0baf80be6bc30744d98a4bc7270ecce Reviewed-on: https://gerrit.mot.com/2171657 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: liujian <liujian24@lenovo.com> Reviewed-by: Wang Wang <wangwang1@lenovo.com> Submit-Approved: Jira Key
This commit is contained in:
parent
d08495df99
commit
6fadca094d
1 changed files with 4 additions and 2 deletions
|
|
@ -4,8 +4,10 @@ EXTRA_CFLAGS += -I$(ANDROID_BUILD_TOP)/motorola/kernel/modules/include
|
|||
|
||||
prod_list := hawao
|
||||
find_target := $(foreach find, $(prod_list), $(findstring $(find), $(TARGET_PRODUCT)))
|
||||
ifneq ($(find_target), )
|
||||
$(warning jianl: define SUPPORT_POWER_GPIO)
|
||||
find_target := $(strip $(find_target))
|
||||
$(warning find_target=$(find_target))
|
||||
ifneq ($(find_target),)
|
||||
$(warning define SUPPORT_POWER_GPIO)
|
||||
EXTRA_CFLAGS += -DSUPPORT_POWER_GPIO
|
||||
endif
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue