# # # (eugeni) this module is built separately and statically in order to avoid # bringing the entire ncurse dependency chain into android. # # just run 'make' in this directory, and it should built 'powertop' binary for you # then compile android-x86 as usual and the module should be there # # LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) $(LOCAL_PATH)/powertop: copy_from := \ powertop \ android-powertop copy_to := $(addprefix $(TARGET_OUT_OPTIONAL_EXECUTABLES)/,$(copy_from)) $(copy_to) : $(TARGET_OUT_OPTIONAL_EXECUTABLES)/% : $(LOCAL_PATH)/% | $(ACP) $(transform-prebuilt-to-target) ALL_PREBUILT += $(copy_to) # terminfo include $(CLEAR_VARS) $(LOCAL_PATH)/usr/share/terminfo/v/vt100: copy_from := \ usr/share/terminfo/v/vt100 copy_to := $(addprefix $(TARGET_OUT)/,$(copy_from)) $(copy_to) : $(TARGET_OUT)/% : $(LOCAL_PATH)/% | $(ACP) $(transform-prebuilt-to-target) ALL_PREBUILT += $(copy_to)