132 lines
5.3 KiB
Makefile
132 lines
5.3 KiB
Makefile
$(call inherit-product, device/softwinner/tulip-common/tulip_64_bit.mk)
|
|
$(call inherit-product, device/google/atv/products/atv_generic.mk)
|
|
$(call inherit-product, device/softwinner/tulip-common/tulip-common.mk)
|
|
$(call inherit-product-if-exists, device/softwinner/tulip-chiphd/modules/modules.mk)
|
|
|
|
DEVICE_PACKAGE_OVERLAYS := device/softwinner/tulip-chiphd/overlay \
|
|
$(DEVICE_PACKAGE_OVERLAYS)
|
|
|
|
$(call inherit-product, vendor/google/atv/atv-vendor.mk)
|
|
|
|
PRODUCT_PACKAGES += \
|
|
AtvRemoteService \
|
|
LeanbackLauncher \
|
|
TV \
|
|
Settings
|
|
|
|
PRODUCT_PACKAGES += \
|
|
Update \
|
|
SuperSU \
|
|
ESFileExplorer \
|
|
VideoPlayer \
|
|
Bluetooth \
|
|
SideloadLauncher
|
|
|
|
PRODUCT_PACKAGES += \
|
|
hdmi_cec.tulip
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
device/softwinner/tulip-chiphd/kernel:kernel \
|
|
device/softwinner/tulip-chiphd/fstab.sun50iw1p1:root/fstab.sun50iw1p1 \
|
|
device/softwinner/tulip-chiphd/init.sun50iw1p1.rc:root/init.sun50iw1p1.rc \
|
|
device/softwinner/tulip-chiphd/init.recovery.sun50iw1p1.rc:root/init.recovery.sun50iw1p1.rc \
|
|
device/softwinner/tulip-chiphd/ueventd.sun50iw1p1.rc:root/ueventd.sun50iw1p1.rc \
|
|
device/softwinner/tulip-chiphd/recovery.fstab:recovery.fstab \
|
|
device/softwinner/tulip-chiphd/modules/modules/nand.ko:root/nand.ko \
|
|
device/softwinner/tulip-chiphd/modules/modules/sunxi_tr.ko:root/sunxi_tr.ko \
|
|
device/softwinner/tulip-chiphd/modules/modules/disp.ko:root/disp.ko \
|
|
device/softwinner/tulip-chiphd/modules/modules/hdmi.ko:root/hdmi.ko \
|
|
device/softwinner/tulip-chiphd/modules/modules/sw-device.ko:obj/sw-device.ko \
|
|
device/softwinner/tulip-chiphd/modules/modules/gslX680new.ko:obj/gslX680new.ko \
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
frameworks/native/data/etc/android.hardware.camera.xml:system/etc/permissions/android.hardware.camera.xml \
|
|
frameworks/native/data/etc/android.hardware.camera.front.xml:system/etc/permissions/android.hardware.camera.front.xml \
|
|
frameworks/native/data/etc/android.hardware.bluetooth.xml:system/etc/permissions/android.hardware.bluetooth.xml \
|
|
frameworks/native/data/etc/android.hardware.bluetooth_le.xml:system/etc/permissions/android.hardware.bluetooth_le.xml \
|
|
frameworks/native/data/etc/android.hardware.ethernet.xml:system/etc/permissions/android.hardware.ethernet.xml \
|
|
frameworks/native/data/etc/android.hardware.hdmi.cec.xml:system/etc/permissions/android.hardware.hdmi.cec.xml \
|
|
frameworks/native/data/etc/android.software.live_tv.xml:system/etc/permissions/android.software.live_tv.xml
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
device/softwinner/tulip-chiphd/configs/camera.cfg:system/etc/camera.cfg \
|
|
device/softwinner/tulip-chiphd/configs/gsensor.cfg:system/usr/gsensor.cfg \
|
|
device/softwinner/tulip-chiphd/configs/media_profiles.xml:system/etc/media_profiles.xml \
|
|
device/softwinner/tulip-chiphd/configs/sunxi-keyboard.kl:system/usr/keylayout/sunxi-keyboard.kl \
|
|
device/softwinner/tulip-chiphd/configs/sunxi_ir_recv.kl:system/usr/keylayout/sunxi_ir_recv.kl \
|
|
device/softwinner/tulip-chiphd/configs/tp.idc:system/usr/idc/tp.idc
|
|
|
|
#PRODUCT_COPY_FILES += \
|
|
device/softwinner/tulip-chiphd/hawkview/sensor_list_cfg.ini:system/etc/hawkview/sensor_list_cfg.ini
|
|
|
|
# bootanimation
|
|
PRODUCT_COPY_FILES += \
|
|
device/softwinner/tulip-chiphd/media/bootanimation.zip:system/media/bootanimation.zip
|
|
|
|
# Radio Packages and Configuration Flie
|
|
$(call inherit-product, device/softwinner/common/rild/radio_common.mk)
|
|
#$(call inherit-product, device/softwinner/common/ril_modem/huawei/mu509/huawei_mu509.mk)
|
|
#$(call inherit-product, device/softwinner/common/ril_modem/Oviphone/em55/oviphone_em55.mk)
|
|
|
|
#rtl8723bs bt fw and config
|
|
$(call inherit-product, hardware/realtek/bluetooth/rtl8723bs/firmware/rtlbtfw_cfg.mk)
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
ro.product.8723b_bt.used=true
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
persist.sys.usb.config=mtp,adb \
|
|
ro.adb.secure=0 \
|
|
rw.logger=0
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
ro.product.firmware=v1.2.5
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
ro.zygote.disable_gl_preload=false
|
|
|
|
# xhdpi, while we are hardcoding the 1080 resolution.
|
|
# when we start doing 720 as well, will need to stop hardcoding this.
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
ro.sf.lcd_density=320 \
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
ro.spk_dul.used=false \
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
service.adb.tcp.port=5555 \
|
|
persist.ota.server.ip=ota.pine64.org
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
persist.sys.timezone=America/Los_Angeles \
|
|
persist.sys.country=US \
|
|
persist.sys.language=en
|
|
|
|
#define virtual mouse key
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
ro.softmouse.left.code=16 \
|
|
ro.softmouse.right.code=17 \
|
|
ro.softmouse.top.code=11 \
|
|
ro.softmouse.bottom.code=14 \
|
|
ro.softmouse.leftbtn.code=13 \
|
|
ro.softmouse.midbtn.code=-1 \
|
|
ro.softmouse.rightbtn.code=-1
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
ro.hdmi.device_type=4
|
|
|
|
PRODUCT_CHARACTERISTICS := tv
|
|
|
|
PRODUCT_AAPT_CONFIG := normal large xlarge hdpi xhdpi
|
|
PRODUCT_AAPT_PREF_CONFIG := xhdpi
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
frameworks/native/data/etc/android.software.app_widgets.xml:system/etc/permissions/android.software.app_widgets.xml
|
|
|
|
$(call inherit-product-if-exists, vendor/google/products/gms_5.1r4_db.mk)
|
|
|
|
PRODUCT_BRAND := Allwinner
|
|
PRODUCT_NAME := tulip_chiphd_atv
|
|
PRODUCT_DEVICE := tulip-chiphd
|
|
PRODUCT_MODEL := PINE A64
|
|
PRODUCT_MANUFACTURER := Allwinner
|