Ethan Yonker | 03a42f6 | 2014-08-08 11:03:51 -0500 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | include $(CLEAR_VARS) |
| 3 | |
bigbiff bigbiff | 584b977 | 2016-12-08 21:21:17 -0500 | [diff] [blame] | 4 | ifneq ($(TW_DEVICE_VERSION),) |
| 5 | LOCAL_CFLAGS += -DTW_DEVICE_VERSION='"-$(TW_DEVICE_VERSION)"' |
| 6 | else |
| 7 | LOCAL_CFLAGS += -DTW_DEVICE_VERSION='"-0"' |
| 8 | endif |
| 9 | |
Ethan Yonker | 03a42f6 | 2014-08-08 11:03:51 -0500 | [diff] [blame] | 10 | LOCAL_SRC_FILES:= \ |
| 11 | orscmd.cpp |
bigbiff bigbiff | 584b977 | 2016-12-08 21:21:17 -0500 | [diff] [blame] | 12 | LOCAL_CFLAGS += -c -W |
| 13 | LOCAL_MODULE := orscmd |
Ethan Yonker | 03a42f6 | 2014-08-08 11:03:51 -0500 | [diff] [blame] | 14 | LOCAL_MODULE_STEM := twrp |
| 15 | LOCAL_MODULE_TAGS:= eng |
| 16 | LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES |
| 17 | LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin |
| 18 | include $(BUILD_EXECUTABLE) |