-
Notifications
You must be signed in to change notification settings - Fork 73
/
Android.mk
49 lines (34 loc) · 1.1 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
# bbootimg
LOCAL_PATH:= $(call my-dir)
bbootimg_src_file := src/bbootimg.c src/libbootimg.c
include $(CLEAR_VARS)
LOCAL_SRC_FILES:= $(bbootimg_src_file)
LOCAL_MODULE:= bbootimg
LOCAL_MODULE_TAGS := eng
LOCAL_FORCE_STATIC_EXECUTABLE := true
LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES)
LOCAL_UNSTRIPPED_PATH := $(TARGET_OUT_EXECUTABLES_UNSTRIPPED)
LOCAL_STATIC_LIBRARIES := libc
include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)
LOCAL_SRC_FILES:= $(bbootimg_src_file)
LOCAL_MODULE := bbootimge_host
LOCAL_MODULE_STEM := bbootimg
LOCAL_MODULE_TAGS := optional
include $(BUILD_HOST_EXECUTABLE)
# bbootimg - dynamic binary for TWRP
include $(CLEAR_VARS)
LOCAL_MODULE:= bbootimg_recovery
LOCAL_MODULE_TAGS := eng
LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES
LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin
LOCAL_MODULE_STEM := bbootimg
LOCAL_SRC_FILES:= src/bbootimg.c src/libbootimg.c
LOCAL_SHARED_LIBRARIES := libc
include $(BUILD_EXECUTABLE)
# libbootimg
include $(CLEAR_VARS)
LOCAL_SRC_FILES := src/libbootimg.c
LOCAL_MODULE := libbootimg
LOCAL_MODULE_TAGS := eng
include $(BUILD_STATIC_LIBRARY)