-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAndroid.mk
More file actions
63 lines (54 loc) · 1.47 KB
/
Android.mk
File metadata and controls
63 lines (54 loc) · 1.47 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES:= \
powertop.c \
config.c \
process.c \
misctips.c \
bluetooth.c \
display.c \
suggestions.c \
wireless.c \
cpufreq.c \
sata.c \
xrandr.c \
ethernet.c \
cpufreqstats.c \
usb.c \
urbnum.c \
intelcstates.c \
armcstates.c \
wifi-new.c \
perf.c \
alsa-power.c \
ahci-alpm.c \
devicepm.c \
dmesg.c
LOCAL_STATIC_LIBRARIES := \
libslang-static
LOCAL_C_INCLUDES += \
$(TARGET_OUT_HEADERS)/libslang
# $(TARGET_OUT_HEADERS)/glib
# $(LOCAL_PATH)/android \
# external/glib \
# external/libslang \
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE:= powertop
LOCAL_CFLAGS += \
-DDEFAULT_TERM=\"xterm\" \
-D__ARM__ \
-DUSE_SLANG=1 \
-DIS_ANDROID=1
# -DSAVERDIR=\"/system/bin/\" \
# -DSYSCONFDIR=\"/sdcard/etc/mc/\" \
# -DDATADIR=\"/sdcard/etc/mc/\" \
# -DSHELL=\"/system/bin/sh\" \
# -DREAL_UNIX_SYSTEM=1 \
# -Wcomment -Wdeclaration-after-statement -Wformat -Wimplicit-function-declaration -Wimplicit-int -Wmissing-braces -Wmissing-declarations -Wmissing-parameter-type -Wmissing-prototypes -Wnested-externs -Wno-long-long -Wno-unreachable-code -Wparentheses -Wpointer-sign -Wreturn-type -Wshadow -Wsign-compare -Wswitch -Wuninitialized -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -Wwrite-strings -g
# -std=gnuc \
# -Wall
# -std=gnu99
# -D_GNU_SOURCE \
# -D_THREAD_SAFE \
# -Werror
include $(BUILD_EXECUTABLE)