Nishanth Menon | ca27365 | 2011-09-20 11:31:17 +0200 | [diff] [blame] | 1 | LOCAL_PATH := $(call my-dir) |
| 2 | include $(CLEAR_VARS) |
| 3 | |
| 4 | |
| 5 | LOCAL_MODULE_TAGS := optional |
| 6 | LOCAL_SHARED_LIBRARIES := libstlport |
| 7 | |
| 8 | LOCAL_STATIC_LIBRARIES := libncurses |
| 9 | |
| 10 | LOCAL_MODULE := powerdebug |
| 11 | |
Vishal Bhoj | 67b9a46 | 2015-02-20 11:32:39 +0000 | [diff] [blame] | 12 | systemimage: powerdebug |
| 13 | |
Nishanth Menon | ca27365 | 2011-09-20 11:31:17 +0200 | [diff] [blame] | 14 | LOCAL_CPPFLAGS += \ |
| 15 | -DDISABLE_I18N \ |
| 16 | -DDISABLE_TRYCATCH \ |
| 17 | -DNCURSES_NOMACROS \ |
| 18 | -DDISABLE_WSTRING \ |
| 19 | -DDEFAULT_TERM=\"xterm\" \ |
| 20 | -DTERMINFO_PATH=\"/system/etc/terminfo\" \ |
| 21 | -DDEFINE_ETHTOOL_CMD \ |
| 22 | |
| 23 | LOCAL_C_INCLUDES += external/stlport/stlport/ \ |
| 24 | external/stlport/stlport/stl \ |
| 25 | external/stlport/stlport/using/h/ \ |
| 26 | bionic \ |
| 27 | external/ncurses \ |
| 28 | external/ncurses/lib \ |
| 29 | external/ncurses/include \ |
| 30 | external/ncurses/include/ncurses |
| 31 | |
| 32 | LOCAL_SRC_FILES += \ |
| 33 | powerdebug.c sensor.c clocks.c regulator.c \ |
Sanjay Singh Rawat | 9fe0c05 | 2013-02-22 17:57:18 +0530 | [diff] [blame] | 34 | display.c tree.c utils.c mainloop.c gpio.c |
Nishanth Menon | ca27365 | 2011-09-20 11:31:17 +0200 | [diff] [blame] | 35 | |
| 36 | include $(BUILD_EXECUTABLE) |