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 |
bigbiff | d58ba18 | 2020-03-23 10:02:29 -0400 | [diff] [blame] | 15 | LOCAL_MODULE_TAGS:= optional |
Ethan Yonker | 03a42f6 | 2014-08-08 11:03:51 -0500 | [diff] [blame] | 16 | LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES |
Ethan Yonker | 1615916 | 2017-01-19 16:45:01 -0600 | [diff] [blame] | 17 | LOCAL_PACK_MODULE_RELOCATIONS := false |
bigbiff | ad58e1b | 2020-07-06 20:24:34 -0400 | [diff] [blame] | 18 | LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/system/bin |
Ethan Yonker | 03a42f6 | 2014-08-08 11:03:51 -0500 | [diff] [blame] | 19 | include $(BUILD_EXECUTABLE) |