aboutsummaryrefslogtreecommitdiffstats
path: root/Android.mk
blob: 1e37461e37736fbe4ee7476c9bbd02077ac3b6cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
ifeq ($(TARGET_ARCH),arm)

LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)
LOCAL_MODULE:= powertop
LOCAL_CFLAGS += -DNO_NCURSES
LOCAL_CFLAGS += -DNO_SUGGESTIONS
LOCAL_CFLAGS += -DPATH_MAX=256
ifeq ($(BOARD_USES_QCOM_HARDWARE),true)
	LOCAL_CFLAGS += -DPLATFORM_NO_INT0
endif
LOCAL_SRC_FILES := powertop.c \
		   config.c \
		   process.c \
		   misctips.c \
		   bluetooth.c \
		   display.c \
		   suggestions.c \
		   cpufreq.c \
		   cpufreqstats.c \
		   sata.c \
		   xrandr.c \
		   intelcstates.c \
		   usb.c \
		   urbnum.c \
		   msmpmstats.c

LOCAL_MODULE_TAGS := debug
LOCAL_MODULE_PATH := $(TARGET_OUT_EXECUTABLES)/
include $(BUILD_EXECUTABLE)

endif