-
Notifications
You must be signed in to change notification settings - Fork 9
/
Android.mk
56 lines (40 loc) · 1.18 KB
/
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
dirtycow.c \
shared.c \
farm.c
LOCAL_MODULE := farm
LOCAL_LDFLAGS += -llog
LOCAL_CFLAGS += -fPIE
LOCAL_LDFLAGS += -fPIE -pie
LOCAL_C_INCLUDES += $(ANDROID_NDK_HOME)/platforms/android-23/arch-arm/usr/include
include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
bridge.c \
shared.c
LOCAL_MODULE := bridge_pull
LOCAL_CFLAGS += -fPIE -DFARM_PULL
LOCAL_LDFLAGS += -fPIE -pie -llog
LOCAL_C_INCLUDES += $(ANDROID_NDK_HOME)/platforms/android-23/arch-arm/usr/include
include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
bridge.c \
shared.c
LOCAL_MODULE := bridge_pull_boot
LOCAL_CFLAGS += -fPIE -DFARM_PULL -DFARM_BOOT
LOCAL_LDFLAGS += -fPIE -pie -llog
LOCAL_C_INCLUDES += $(ANDROID_NDK_HOME)/platforms/android-23/arch-arm/usr/include
include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
bridge.c \
shared.c
LOCAL_MODULE := bridge_push
LOCAL_CFLAGS += -fPIE -DFARM_PUSH
LOCAL_LDFLAGS += -fPIE -pie -llog
LOCAL_C_INCLUDES += $(ANDROID_NDK_HOME)/platforms/android-23/arch-arm/usr/include
include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)