blob: 19837b4d02c706547c64e419e865a09bb30be881 [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
15LOCAL_MODULE_TAGS:= eng
16LOCAL_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)