forked from XePeleato/android_device_huawei_hi6210sft
/
device.mk
38 lines (31 loc) · 1.21 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
# Charger for off charging mode
PRODUCT_PACKAGES += \
charger_res_images
# Kernel, My Own Cannabis :D
ifeq ($(TARGET_PREBUILT_KERNEL),)
LOCAL_KERNEL := device/huawei/hi6210sft/kernel
else
LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL)
endif
PRODUCT_COPY_FILES += \
$(LOCAL_KERNEL):kernel
# Ramdisk
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/ramdisk/fstab.hi6210sft:root/fstab.hi6210sft \
$(LOCAL_PATH)/ramdisk/init:root/init \
$(LOCAL_PATH)/ramdisk/init.rc:root/init.rc \
$(LOCAL_PATH)/ramdisk/init.audio.rc:root/init.audio.rc \
$(LOCAL_PATH)/ramdisk/init.connectivity.rc:root/init.connectivity.rc \
$(LOCAL_PATH)/ramdisk/init.hi6210sft.rc:root/init.hi6210sft.rc \
$(LOCAL_PATH)/ramdisk/init.platform.rc:root/init.platform.rc \
$(LOCAL_PATH)/ramdisk/init.recovery.hi6210sft.rc:root/init.recovery.hi6210sft.rc \
$(LOCAL_PATH)/ramdisk/init.usb.rc:root/init.usb.rc \
$(LOCAL_PATH)/ramdisk/ueventd.rc:root/ueventd.rc
# Zygote
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.zygote=zygote64_32
PRODUCT_PROPERTY_OVERRIDES += \
debug.sf.no_hw_vsync=1 \
ro.secure=0 \
ro.adb.secure=0
PRODUCT_COPY_FILES += system/core/rootdir/init.zygote64_32.rc:root/init.zygote64_32.rc
PRODUCT_PACKAGES += libGLES_android