From 1710bf254756d49355e9156ba1907545addfb319 Mon Sep 17 00:00:00 2001 From: Jenkins Date: Thu, 2 Oct 2014 20:22:21 -0400 Subject: display cpu temperature in twrp use TW_NO_CPU_TEMP := true to disable display use TW_CPU_CUSTOM_PATH := path to set custom path Change-Id: Id260ecbb4ec36a78442387329944f67003d0f6a0 --- Android.mk | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Android.mk') diff --git a/Android.mk b/Android.mk index 03e1a6962..5ec184e9d 100644 --- a/Android.mk +++ b/Android.mk @@ -199,6 +199,9 @@ endif ifeq ($(TW_NO_BATT_PERCENT), true) LOCAL_CFLAGS += -DTW_NO_BATT_PERCENT endif +ifeq ($(TW_NO_CPU_TEMP), true) + LOCAL_CFLAGS += -DTW_NO_CPU_TEMP +endif ifneq ($(TW_CUSTOM_POWER_BUTTON),) LOCAL_CFLAGS += -DTW_CUSTOM_POWER_BUTTON=$(TW_CUSTOM_POWER_BUTTON) endif @@ -288,6 +291,12 @@ endif ifneq ($(TW_CUSTOM_BATTERY_PATH),) LOCAL_CFLAGS += -DTW_CUSTOM_BATTERY_PATH=$(TW_CUSTOM_BATTERY_PATH) endif +ifneq ($(TW_CUSTOM_CPU_TEMP_PATH),) + LOCAL_CFLAGS += -DTW_CUSTOM_CPU_TEMP_PATH=$(TW_CUSTOM_CPU_TEMP_PATH) +endif +ifneq ($(TW_NO_CPU_TEMP),) + LOCAL_CFLAGS += -DTW_NO_CPU_TEMP=$(TW_NO_CPU_TEMP) +endif ifneq ($(TW_EXCLUDE_ENCRYPTED_BACKUPS), true) LOCAL_SHARED_LIBRARIES += libopenaes else -- cgit v1.2.3