commit | f33b49015a8fed05f4933e6c5062830909454def | [log] [tgz] |
---|---|---|
author | Dees_Troy <dees_troy@teamw.in> | Fri Mar 01 00:51:39 2013 +0000 |
committer | Dees_Troy <dees_troy@teamw.in> | Fri Mar 01 00:51:39 2013 +0000 |
tree | 1dc29f36fa7ea6dfee7355e1a8b2d142e2edd0b1 | |
parent | c0583f54e4892eeac2705f6433bf950d1c673c6c [diff] [blame] |
Add option for custom battery path
diff --git a/Android.mk b/Android.mk index 57bab35..199aba4 100644 --- a/Android.mk +++ b/Android.mk
@@ -234,6 +234,9 @@ ifneq ($(TW_MAX_BRIGHTNESS),) LOCAL_CFLAGS += -DTW_MAX_BRIGHTNESS=$(TW_MAX_BRIGHTNESS) endif +ifneq ($(TW_CUSTOM_BATTERY_PATH),) + LOCAL_CFLAGS += -DTW_CUSTOM_BATTERY_PATH=$(TW_CUSTOM_BATTERY_PATH) +endif ifeq ($(TARGET_BOARD_PLATFORM),rk30xx) LOCAL_CFLAGS += -DRK3066 endif