blob: 42f918ac66a9e20cfcadd89d5484b16318f1ca19 [file] [log] [blame]
Ethan Yonker03a42f62014-08-08 11:03:51 -05001LOCAL_PATH:= $(call my-dir)
2include $(CLEAR_VARS)
3
bigbiff bigbiff584b9772016-12-08 21:21:17 -05004ifneq ($(TW_DEVICE_VERSION),)
5 LOCAL_CFLAGS += -DTW_DEVICE_VERSION='"-$(TW_DEVICE_VERSION)"'
6else
7 LOCAL_CFLAGS += -DTW_DEVICE_VERSION='"-0"'
8endif
9
Ethan Yonker03a42f62014-08-08 11:03:51 -050010LOCAL_SRC_FILES:= \
11 orscmd.cpp
bigbiff bigbiff584b9772016-12-08 21:21:17 -050012LOCAL_CFLAGS += -c -W
13LOCAL_MODULE := orscmd
Ethan Yonker03a42f62014-08-08 11:03:51 -050014LOCAL_MODULE_STEM := twrp
bigbiffd58ba182020-03-23 10:02:29 -040015LOCAL_MODULE_TAGS:= optional
Ethan Yonker03a42f62014-08-08 11:03:51 -050016LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES
Ethan Yonker16159162017-01-19 16:45:01 -060017LOCAL_PACK_MODULE_RELOCATIONS := false
bigbiffad58e1b2020-07-06 20:24:34 -040018LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/system/bin
Ethan Yonker03a42f62014-08-08 11:03:51 -050019include $(BUILD_EXECUTABLE)