forked from fi01/unlock_security_module
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAndroid.mk
37 lines (31 loc) · 915 Bytes
/
Android.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
main.c \
kernel_memory.c \
kallsyms.c \
ptmx.c \
mm.c \
fops_handler.c \
mmc_protect_part.c \
ccsecurity.c \
reset_security_ops.c \
lsm_capability.c \
mmap.c
LOCAL_MODULE := unlock_security_module
LOCAL_MODULE_TAGS := optional
LOCAL_STATIC_LIBRARIES := libdiagexploit
LOCAL_STATIC_LIBRARIES += libperf_event_exploit
LOCAL_STATIC_LIBRARIES += libdevice_database
LOCAL_STATIC_LIBRARIES += libmsm_acdb_exploit
LOCAL_STATIC_LIBRARIES += libfj_hdcp_exploit
LOCAL_STATIC_LIBRARIES += libfb_mem_exploit
LOCAL_STATIC_LIBRARIES += libput_user_exploit
LOCAL_STATIC_LIBRARIES += libkallsyms
LOCAL_STATIC_LIBRARIES += libz_static
LOCAL_LDFLAGS += -static
TOP_SRCDIR := $(abspath $(LOCAL_PATH))
TARGET_C_INCLUDES += \
$(TOP_SRCDIR)/device_database
include $(BUILD_EXECUTABLE)
include $(call all-makefiles-under,$(LOCAL_PATH))