blob: b132d736055f41f1134d8a605cc68633067b45e0 [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
17LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin
18include $(BUILD_EXECUTABLE)