forked from zossso/android_device_motorola_motus
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathAndroidBoard.mk
98 lines (78 loc) · 2.94 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
# Copyright (C) 2007 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
LOCAL_PATH := $(call my-dir)
# from device/motorola/motus
file := $(TARGET_OUT_KEYLAYOUT)/motus-kpd.kl
ALL_PREBUILT += $(file)
$(file) : $(LOCAL_PATH)/motus-kpd.kl | $(ACP)
$(transform-prebuilt-to-target)
file := $(TARGET_ROOT_OUT)/init.motus.rc
ALL_PREBUILT += $(file)
$(file) : $(LOCAL_PATH)/init.motus.rc | $(ACP)
$(transform-prebuilt-to-target)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := motus-kpd.kcm
include $(BUILD_KEY_CHAR_MAP)
file := $(TARGET_OUT_KEYLAYOUT)/adp5588_motus.kl
ALL_PREBUILT += $(file)
$(file) : $(LOCAL_PATH)/adp5588_motus.kl | $(ACP)
$(transform-prebuilt-to-target)
file := $(TARGET_OUT_KEYLAYOUT)/touchscreen.kl
ALL_PREBUILT += $(file)
$(file) : $(LOCAL_PATH)/touchscreen.kl | $(ACP)
$(transform-prebuilt-to-target)
file := $(TARGET_OUT_KEYLAYOUT)/AVRCP.kl
ALL_PREBUILT += $(file)
$(file) : $(LOCAL_PATH)/AVRCP.kl | $(ACP)
$(transform-prebuilt-to-target)
file := $(TARGET_OUT_KEYLAYOUT)/adp5588_motus_P1.kl
ALL_PREBUILT += $(file)
$(file) : $(LOCAL_PATH)/adp5588_motus_P1.kl | $(ACP)
$(transform-prebuilt-to-target)
file := $(TARGET_OUT_KEYLAYOUT)/adp5588_motus_P2.kl
ALL_PREBUILT += $(file)
$(file) : $(LOCAL_PATH)/adp5588_motus_P2.kl | $(ACP)
$(transform-prebuilt-to-target)
file := $(TARGET_OUT_KEYLAYOUT)/adp5588_motus_P3.kl
ALL_PREBUILT += $(file)
$(file) : $(LOCAL_PATH)/adp5588_motus_P3.kl | $(ACP)
$(transform-prebuilt-to-target)
file := $(TARGET_OUT_KEYLAYOUT)/qwerty.kl
ALL_PREBUILT += $(file)
$(file) : $(LOCAL_PATH)/qwerty.kl | $(ACP)
$(transform-prebuilt-to-target)
file := $(TARGET_ROOT_OUT)/init.motus.rc
ALL_PREBUILT += $(file)
$(file) : $(LOCAL_PATH)/init.motus.rc | $(ACP)
$(transform-prebuilt-to-target)
ALL_PREBUILT += $(INSTALLED_KERNEL_TARGET)
# from AndroidBoardCommon.mk
file := $(TARGET_OUT_KEYLAYOUT)/headset.kl
ALL_PREBUILT += $(file)
$(file) : $(LOCAL_PATH)/headset.kl | $(ACP)
$(transform-prebuilt-to-target)
include $(CLEAR_VARS)
LOCAL_MODULE_CLASS := ETC
LOCAL_MODULE := vold.fstab
LOCAL_SRC_FILES := $(LOCAL_MODULE)
include $(BUILD_PREBUILT)
# the system properties for each device, loaded by init
file := $(TARGET_OUT)/build.motus.prop
ALL_PREBUILT += $(file)
$(file) : $(LOCAL_PATH)/build.motus.prop | $(ACP)
$(transform-prebuilt-to-target)
# Least specific includes go first, so that they can get
# overridden further down
include $(CLEAR_VARS)
-include vendor/motorola/motus/AndroidBoardVendor.mk