forked from leonardoafa/android_device_samsung_s7562
-
Notifications
You must be signed in to change notification settings - Fork 0
/
device.mk
68 lines (57 loc) · 2.49 KB
/
device.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
# Copyright (C) 2013 The CyanogenMod 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.
DEVICE_PACKAGE_OVERLAYS += device/samsung/kyleopen/overlay
LOCAL_PATH := device/samsung/kyleopen
ifeq ($(TARGET_PREBUILT_KERNEL),)
LOCAL_KERNEL := device/samsung/kernel.s7562
else
LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL)
endif
PRODUCT_COPY_FILES += \
$(LOCAL_KERNEL):kernel
## Graphics
PRODUCT_PACKAGES += \
copybit.msm7x27a \
gralloc.msm7x27a \
hwcomposer.msm7x27a
## Other HALs
PRODUCT_PACKAGES += \
lights.msm7x27a \
power.msm7x27a
## Rootdir
PRODUCT_COPY_FILES += \
device/samsung/kyleopen/boot/init.qcom.rc:root/init.qcom.rc \
device/samsung/kyleopen/boot/init.qcom.usb.rc:root/init.qcom.usb.rc \
device/samsung/kyleopen/boot/ueventd.qcom.rc:root/ueventd.qcom.rc \
device/samsung/kyleopen/boot/lpm.rc:root/lpm.rc
## Keylayouts, Keymaps, Etc
PRODUCT_COPY_FILES += \
device/samsung/kyleopen/prebuilts/usr/idc/sec_touchscreen.idc:system/usr/idc/sec_touchscreen.idc \
device/samsung/kyleopen/prebuilts/usr/keychars/7x27a_kp.kcm:system/usr/keychars/7x27a_kp.kcm \
device/samsung/kyleopen/prebuilts/usr/keychars/sec_touchscreen.kcm:system/usr/keychars/sec_touchscreen.kcm \
device/samsung/kyleopen/prebuilts/usr/keylayout/7x27a_kp.kl:system/usr/keylayout/7x27a_kp.kl \
device/samsung/kyleopen/prebuilts/usr/keylayout/sec_jack.kl:system/usr/keylayout/sec_jack.kl \
device/samsung/kyleopen/prebuilts/usr/keylayout/sec_touchscreen.kl:system/usr/keylayout/sec_touchscreen.kl
## Vold
PRODUCT_COPY_FILES += \
device/samsung/kyleopen/prebuilts/vold.fstab:system/etc/vold.fstab
PRODUCT_BUILD_PROP_OVERRIDES += BUILD_UTC_DATE=0
PRODUCT_NAME := full_kyleopen
PRODUCT_DEVICE := kyleopen
## Other
#PRODUCT_BUILD_PROP_OVERRIDES += BUILD_UTC_DATE=2
#PRODUCT_PROPERTY_OVERRIDES += dalvik.vm.dexopt-data-only=1 persist.fuse_sdcard=false ro.sf.lcd_density=240
PRODUCT_TAGS += dalvik.gc.type-precise
PRODUCT_AAPT_CONFIG := normal mdpi hdpi
PRODUCT_AAPT_PREF_CONFIG := mdpi