forked from PhilZ-cwm6/device_micromax_a57
/
device_a57.mk
32 lines (23 loc) · 885 Bytes
/
device_a57.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
$(call inherit-product, $(SRC_TARGET_DIR)/product/languages_full.mk)
# The gps config appropriate for this device
$(call inherit-product, device/common/gps/gps_us_supl.mk)
$(call inherit-product-if-exists, vendor/micromax/a57/a57-vendor.mk)
DEVICE_PACKAGE_OVERLAYS += device/micromax/a57/overlay
# Set usb type
ADDITIONAL_DEFAULT_PROPERTIES += \
persist.sys.usb.config=mass_storage,adb \
persist.service.adb.enable=1
LOCAL_PATH := device/micromax/a57
ifeq ($(TARGET_PREBUILT_KERNEL),)
LOCAL_KERNEL := $(LOCAL_PATH)/kernel
else
LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL)
endif
PRODUCT_COPY_FILES += \
$(LOCAL_KERNEL):kernel
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/recovery/qrdsys.sh:recovery/root/sbin/qrdsys.sh
$(call inherit-product, build/target/product/full.mk)
PRODUCT_BUILD_PROP_OVERRIDES += BUILD_UTC_DATE=0
PRODUCT_NAME := full_a57
PRODUCT_DEVICE := a57