-
Notifications
You must be signed in to change notification settings - Fork 31
/
galaxys2att.mk
71 lines (63 loc) · 4.04 KB
/
galaxys2att.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
#
# Copyright (C) 2012 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.
#
$(call inherit-product, device/samsung/galaxys2/galaxys2_base.mk)
# Keylayout
PRODUCT_COPY_FILES += \
device/samsung/galaxys2att/usr/keylayout/AVRCP.kl:system/usr/keylayout/AVRCP.kl \
device/samsung/galaxys2att/usr/keylayout/Generic.kl:system/usr/keylayout/Generic.kl \
device/samsung/galaxys2att/usr/keylayout/gpio-keys.kl:system/usr/keylayout/gpio-keys.kl \
device/samsung/galaxys2att/usr/keylayout/max8997-muic.kl:system/usr/keylayout/max8997-muic.kl \
device/samsung/galaxys2att/usr/keylayout/melfas-touchkey.kl:system/usr/keylayout/melfas-touchkey.kl \
device/samsung/galaxys2att/usr/keylayout/qwerty.kl:system/usr/keylayout/qwerty.kl \
device/samsung/galaxys2att/usr/keylayout/samsung-keypad.kl:system/usr/keylayout/samsung-keypad.kl \
device/samsung/galaxys2att/usr/keylayout/sec_key.kl:system/usr/keylayout/sec_key.kl \
device/samsung/galaxys2att/usr/keylayout/sec_touchkey.kl:system/usr/keylayout/sec_touchkey.kl \
device/samsung/galaxys2att/usr/keylayout/Vendor_05ac_Product_0239.kl:system/usr/keylayout/Vendor_05ac_Product_0239.kl \
device/samsung/galaxys2att/usr/keylayout/Vendor_22b8_Product_093d.kl:system/usr/keylayout/Vendor_22b8_Product_093d.kl \
device/samsung/galaxys2att/usr/keylayout/Vendor_045e_Product_028e.kl:system/usr/keylayout/Vendor_045e_Product_028e.kl \
device/samsung/galaxys2att/usr/keylayout/Vendor_046d_Product_c216.kl:system/usr/keylayout/Vendor_046d_Product_c216.kl \
device/samsung/galaxys2att/usr/keylayout/Vendor_046d_Product_c294.kl:system/usr/keylayout/Vendor_046d_Product_c294.kl \
device/samsung/galaxys2att/usr/keylayout/Vendor_046d_Product_c299.kl:system/usr/keylayout/Vendor_046d_Product_c299.kl \
device/samsung/galaxys2att/usr/keylayout/Vendor_046d_Product_c532.kl:system/usr/keylayout/Vendor_046d_Product_c532.kl \
device/samsung/galaxys2att/usr/keylayout/Vendor_054c_Product_0268.kl:system/usr/keylayout/Vendor_054c_Product_0268.kl
# Keychars
PRODUCT_COPY_FILES += \
device/samsung/galaxys2att/usr/keychars/Generic.kcm:system/usr/keychars/Generic.kcm \
device/samsung/galaxys2att/usr/keychars/qwerty.kcm:system/usr/keychars/qwerty.kcm \
device/samsung/galaxys2att/usr/keychars/qwerty2.kcm:system/usr/keychars/qwerty2.kcm \
device/samsung/galaxys2att/usr/keychars/Virtual.kcm:system/usr/keychars/Virtual.kcm
# Idc
PRODUCT_COPY_FILES += \
device/samsung/galaxys2att/usr/idc/melfas_ts.idc:system/usr/idc/melfas_ts.idc \
device/samsung/galaxys2att/usr/idc/mxt224_ts_input.idc:system/usr/idc/mxt224_ts_input.idc \
device/samsung/galaxys2att/usr/idc/qwerty.idc:system/usr/idc/qwerty.idc \
device/samsung/galaxys2att/usr/idc/qwerty2.idc:system/usr/idc/qwerty2.idc \
device/samsung/galaxys2att/usr/idc/sec_touchscreen.idc:system/usr/idc/sec_touchscreen.idc
# Kernel modules for ramdisk
RAMDISK_MODULES := $(addprefix device/samsung/galaxys2att/modules/,dhd.ko \
scsi_wait_scan.ko Si4709_driver.ko)
PRODUCT_COPY_FILES += $(foreach module,\
$(RAMDISK_MODULES),\
$(module):root/lib/modules/$(notdir $(module)))
# Other kernel modules not in ramdisk
PRODUCT_COPY_FILES += $(foreach module,\
$(filter-out $(RAMDISK_MODULES),$(wildcard device/samsung/galaxys2att/modules/*.ko)),\
$(module):system/lib/modules/$(notdir $(module)))
# The kernel itself
PRODUCT_COPY_FILES += \
device/samsung/galaxys2att/zImage:kernel
$(call inherit-product, frameworks/base/build/phone-hdpi-512-dalvik-heap.mk)
$(call inherit-product-if-exists, vendor/samsung/galaxys2att/galaxys2att-vendor.mk)