blob: ad7c67be658a2b9ae8fbf3ba634c0a9d4e618c51 [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
Ethan Yonker03a42f62014-08-08 11:03:51 -050018LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin
19include $(BUILD_EXECUTABLE)