forked from drakaz/gaosp_vendor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
AndroidBoard.mk
109 lines (82 loc) · 3.11 KB
/
AndroidBoard.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
LOCAL_PATH := $(call my-dir)
ALL_PREBUILT += $(INSTALLED_KERNEL_TARGET)
# Keylayouts
file := $(TARGET_OUT_KEYLAYOUT)/I7500_headset.kl
ALL_PREBUILT += $(file)
$(file) : $(LOCAL_PATH)/open/keylayout/I7500_headset.kl | $(ACP)
$(transform-prebuilt-to-target)
file := $(TARGET_OUT_KEYLAYOUT)/I7500_keypad.kl
ALL_PREBUILT += $(file)
$(file) : $(LOCAL_PATH)/open/keylayout/I7500_keypad.kl | $(ACP)
$(transform-prebuilt-to-target)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := azerty.kcm
LOCAL_MODULE_TAGS := optional
include $(BUILD_KEY_CHAR_MAP)
# boot files
file := $(TARGET_ROOT_OUT)/init.rc
ALL_PREBUILT += $(file)
$(file) : $(LOCAL_PATH)/open/boot/init.rc | $(ACP)
$(transform-prebuilt-to-target)
# open etc
file := $(TARGET_OUT)/etc/gps.conf
ALL_PREBUILT += $(file)
$(file) : $(LOCAL_PATH)/open/etc/gps.conf | $(ACP)
$(transform-prebuilt-to-target)
file := $(TARGET_OUT)/etc/nvram.txt
ALL_PREBUILT += $(file)
$(file) : $(LOCAL_PATH)/open/etc/nvram.txt | $(ACP)
$(transform-prebuilt-to-target)
file := $(TARGET_OUT)/etc/vold.fstab
ALL_PREBUILT += $(file)
$(file) : $(LOCAL_PATH)/open/etc/vold.fstab | $(ACP)
$(transform-prebuilt-to-target)
file := $(TARGET_OUT)/etc/wifi/wpa_supplicant.conf
ALL_PREBUILT += $(file)
$(file) : $(LOCAL_PATH)/open/etc/wpa_supplicant.conf | $(ACP)
$(transform-prebuilt-to-target)
file := $(TARGET_OUT)/etc/dhcpcd/dhcpcd.conf
ALL_PREBUILT += $(file)
$(file) : $(LOCAL_PATH)/open/etc/dhcpcd.conf | $(ACP)
$(transform-prebuilt-to-target)
# Proprietary etc
file := $(TARGET_OUT)/etc/rtecdc_org.bin
ALL_PREBUILT += $(file)
$(file) : $(LOCAL_PATH)/proprietary/etc/rtecdc.bin | $(ACP)
$(transform-prebuilt-to-target)
# Proprietary lib
file := $(TARGET_OUT)/lib/libsec-ril.so
ALL_PREBUILT += $(file)
$(file) : $(LOCAL_PATH)/proprietary/lib/libsec-ril.so | $(ACP)
$(transform-prebuilt-to-target)
ifdef WITH_WINDOWS_MEDIA
file := $(TARGET_OUT)/lib/libomx_wmadec_sharedlibrary.so
ALL_PREBUILT += $(file)
$(file) : $(LOCAL_PATH)/proprietary/lib/libomx_wmadec_sharedlibrary.so | $(ACP)
$(transform-prebuilt-to-target)
file := $(TARGET_OUT)/lib/libomx_wmvdec_sharedlibrary.so
ALL_PREBUILT += $(file)
$(file) : $(LOCAL_PATH)/proprietary/lib/libomx_wmvdec_sharedlibrary.so | $(ACP)
$(transform-prebuilt-to-target)
file := $(TARGET_OUT)/lib/libpvasfcommon.so
ALL_PREBUILT += $(file)
$(file) : $(LOCAL_PATH)/proprietary/lib/libpvasfcommon.so | $(ACP)
$(transform-prebuilt-to-target)
file := $(TARGET_OUT)/lib/libpvasflocalpbreg.so
ALL_PREBUILT += $(file)
$(file) : $(LOCAL_PATH)/proprietary/lib/libpvasflocalpbreg.so | $(ACP)
$(transform-prebuilt-to-target)
file := $(TARGET_OUT)/lib/libpvasflocalpb.so
ALL_PREBUILT += $(file)
$(file) : $(LOCAL_PATH)/proprietary/lib/libpvasflocalpb.so | $(ACP)
$(transform-prebuilt-to-target)
file := $(TARGET_OUT)/etc/pvasflocal.cfg
ALL_PREBUILT += $(file)
$(file) : $(LOCAL_PATH)/proprietary/pvasflocal.cfg | $(ACP)
$(transform-prebuilt-to-target)
endif
# Keylayouts
file := $(TARGET_OUT)/usr/keychars/I7500_keypad.kcm.bin
ALL_PREBUILT += $(file)
$(file) : $(LOCAL_PATH)/proprietary/keychars/I7500_keypad.kcm.bin | $(ACP)
$(transform-prebuilt-to-target)