mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 21:22:09 -04:00
modules: power: Build with battery profile header files
Add the battery profile header files to makefiles to build with correct battery profile information NO_PROP_NEEDED: change only necessary for smith battery. Does not affect Olson Change-Id: I73f32af18d91ffa573edb285d850cd3c450e9c7c Signed-off-by: Andrew Abbott <drewa@motorola.com> Reviewed-on: https://gerrit.mot.com/1494276 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Cesar Augusto Marcelino dos Santos <cmsantos@motorola.com> Reviewed-by: Qing Chang <qing@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
dfac45c7a0
commit
77ce570f4e
2 changed files with 16 additions and 0 deletions
|
|
@ -13,6 +13,14 @@ ifeq ($(SCUD_4000MAH_8A_BATTERY_PROFILE),true)
|
|||
KERNEL_CFLAGS += CONFIG_SCUD_4000MAH_8A_BATTERY_PROFILE=y
|
||||
endif
|
||||
|
||||
ifeq ($(ATL_LS40_1545MAH_BATTERY_PROFILE),true)
|
||||
KERNEL_CFLAGS += CONFIG_ATL_LS40_1545MAH_BATTERY_PROFILE=y
|
||||
endif
|
||||
|
||||
ifeq ($(ATL_LS30_1255MAH_BATTERY_PROFILE),true)
|
||||
KERNEL_CFLAGS += CONFIG_ATL_LS30_1255MAH_BATTERY_PROFILE=y
|
||||
endif
|
||||
|
||||
ifeq ($(DLKM_INSTALL_TO_VENDOR_OUT),true)
|
||||
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR)/lib/modules/
|
||||
else
|
||||
|
|
|
|||
|
|
@ -11,4 +11,12 @@ ifneq ($(filter m y,$(CONFIG_SCUD_4000MAH_8A_BATTERY_PROFILE)),)
|
|||
EXTRA_CFLAGS += -DSCUD_4000MAH_8A_BATTERY_PROFILE
|
||||
endif
|
||||
|
||||
ifneq ($(filter m y,$(CONFIG_ATL_LS40_1545MAH_BATTERY_PROFILE)),)
|
||||
EXTRA_CFLAGS += -DATL_LS40_1545MAH_BATTERY_PROFILE
|
||||
endif
|
||||
|
||||
ifneq ($(filter m y,$(CONFIG_ATL_LS30_1255MAH_BATTERY_PROFILE)),)
|
||||
EXTRA_CFLAGS += -DATL_LS30_1255MAH_BATTERY_PROFILE
|
||||
endif
|
||||
|
||||
obj-m += bq27426_fg_mmi.o
|
||||
|
|
|
|||
Loading…
Reference in a new issue