blob: e77f81765c02982a3bd80a11872c0931ecda716a [file] [log] [blame]
#Inherit from vendor
$(call inherit-product-if-exists, vendor/samsung/gprimeltecan/gprimeltecan-vendor.mk)
# Inherit from common
$(call inherit-product, device/samsung/gprimelte-common/device-common.mk)
LOCAL_PATH := device/samsung/gprimeltecan
# Common overlay
DEVICE_PACKAGE_OVERLAYS += device/samsung/gprimeltecan/overlay
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/dt.img:dt.img
# Configuration
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/Diag.cfg:system/etc/Diag.cfg \
$(LOCAL_PATH)/configs/Diag_audio.cfg:system/etc/Diag_audio.cfg \
$(LOCAL_PATH)/configs/Diag_volte.cfg:system/etc/Diag_volte.cfg \
$(LOCAL_PATH)/configs/Diag_zero.cfg:system/etc/Diag_zero.cfg
# Audio configuration
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/audio/Bluetooth_cal.acdb:system/etc/Bluetooth_cal.acdb \
$(LOCAL_PATH)/audio/General_cal.acdb:system/etc/General_cal.acdb \
$(LOCAL_PATH)/audio/Global_cal.acdb:system/etc/Global_cal.acdb \
$(LOCAL_PATH)/audio/Handset_cal.acdb:system/etc/Handset_cal.acdb \
$(LOCAL_PATH)/audio/Hdmi_cal.acdb:system/etc/Hdmi_cal.acdb \
$(LOCAL_PATH)/audio/Headset_cal.acdb:system/etc/Headset_cal.acdb \
$(LOCAL_PATH)/audio/Speaker_cal.acdb:system/etc/Speaker_cal.acdb \
$(LOCAL_PATH)/audio/audio_effects.conf:system/vendor/etc/audio_effects.conf \
$(LOCAL_PATH)/audio/audio_policy.conf:system/etc/audio_policy.conf \
$(LOCAL_PATH)/audio/mixer_paths.xml:system/etc/mixer_paths.xml
# Media configurations
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/media/media_codecs_8929.xml:system/etc/media_codecs_8929.xml \
$(LOCAL_PATH)/media/media_codecs_8939.xml:system/etc/media_codecs_8939.xml \
$(LOCAL_PATH)/media/media_codecs.xml:system/etc/media_codecs.xml \
$(LOCAL_PATH)/media/media_profiles.xml:system/etc/media_profiles.xml
# Prebuilt
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/prebuilt/dsi_config.xml:system/etc/data/dsi_config.xml \
$(LOCAL_PATH)/prebuilt/netmgr_config.xml:system/etc/data/netmgr_config.xml \
$(LOCAL_PATH)/prebuilt/qmi_config.xml:system/etc/data/qmi_config.xml
# Properties
PRODUCT_PROPERTY_OVERRIDES += \
ro.product.model=SM-G530W \
ro.product.device=gprimeltecan
# security config
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/sec_config:system/etc/sec_config