summaryrefslogtreecommitdiffstats
path: root/injecttwrp/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'injecttwrp/Android.mk')
-rw-r--r--injecttwrp/Android.mk13
1 files changed, 13 insertions, 0 deletions
diff --git a/injecttwrp/Android.mk b/injecttwrp/Android.mk
new file mode 100644
index 000000000..2557523a2
--- /dev/null
+++ b/injecttwrp/Android.mk
@@ -0,0 +1,13 @@
+LOCAL_PATH:= $(call my-dir)
+include $(CLEAR_VARS)
+
+ifeq ($(TW_INCLUDE_INJECTTWRP), true)
+ LOCAL_SRC_FILES:= \
+ injecttwrp.c
+ LOCAL_CFLAGS:= -g -c -W
+ LOCAL_MODULE:=injecttwrp
+ LOCAL_MODULE_TAGS:= eng
+ LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES
+ LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin
+ include $(BUILD_EXECUTABLE)
+endif