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
|
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
LOCAL_SHARED_LIBRARIES := libstlport
LOCAL_STATIC_LIBRARIES := libncurses
LOCAL_MODULE := powerdebug
LOCAL_CPPFLAGS += \
-DDISABLE_I18N \
-DDISABLE_TRYCATCH \
-DNCURSES_NOMACROS \
-DDISABLE_WSTRING \
-DDEFAULT_TERM=\"xterm\" \
-DTERMINFO_PATH=\"/system/etc/terminfo\" \
-DDEFINE_ETHTOOL_CMD \
LOCAL_C_INCLUDES += external/stlport/stlport/ \
external/stlport/stlport/stl \
external/stlport/stlport/using/h/ \
bionic \
external/ncurses \
external/ncurses/lib \
external/ncurses/include \
external/ncurses/include/ncurses
LOCAL_SRC_FILES += \
powerdebug.c sensor.c clocks.c regulator.c \
display.c tree.c utils.c mainloop.c gpio.c
include $(BUILD_EXECUTABLE)
|