Commit 260e9a31 authored by SnowCatPDA's avatar SnowCatPDA
Browse files

ADD x32 and x64 configs

parent 2b3723c3
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
PRODUCT_MAKEFILES := $(LOCAL_DIR)/full_X5PRO.mk
PRODUCT_MAKEFILES := \
	$(LOCAL_DIR)/full_X5PROx32.mk \
	$(LOCAL_DIR)/full_X5PROx64.mk
+3 −3
Original line number Diff line number Diff line
@@ -621,9 +621,9 @@ MTK_WEEK_NO = W17.08
MTK_WFC_SUPPORT = no
MTK_WFD_HDCP_RX_SVP_SUPPORT = no
MTK_WFD_HDCP_TX_SUPPORT = no
MTK_WFD_SINK_SUPPORT = no
MTK_WFD_SINK_UIBC_SUPPORT = no
MTK_WFD_SUPPORT = no
MTK_WFD_SINK_SUPPORT = yes
MTK_WFD_SINK_UIBC_SUPPORT = yes
MTK_WFD_SUPPORT = yes
MTK_WIFIWPSP2P_NFC_SUPPORT = no
MTK_WIFI_MCC_SUPPORT = yes
MTK_WIFI_P2P_SUPPORT = yes
+3 −1
Original line number Diff line number Diff line
@@ -157,6 +157,8 @@ PRODUCT_COPY_FILES += frameworks/av/media/libstagefright/data/media_codecs_googl
DEVICE_PACKAGE_OVERLAYS += device/mediatek/common/overlay/sd_in_ex_otg

DEVICE_PACKAGE_OVERLAYS += device/DOOGEE/X5PRO/overlay
DEVICE_PACKAGE_OVERLAYS += device/DOOGEE/$(MTK_TARGET_PROJECT)/overlay

ifdef OPTR_SPEC_SEG_DEF
  ifneq ($(strip $(OPTR_SPEC_SEG_DEF)),NONE)
    OPTR := $(word 1,$(subst _,$(space),$(OPTR_SPEC_SEG_DEF)))
@@ -192,7 +194,7 @@ endif
# inherit 6752 platform
$(call inherit-product, device/mediatek/mt6735/device.mk)

$(call inherit-product-if-exists, vendor/DOOGEE/libs/$(MTK_TARGET_PROJECT)/device-vendor.mk)
$(call inherit-product-if-exists, vendor/DOOGEE/libs/X5PRO/device-vendor.mk)

# setup dm-verity configs.
#PRODUCT_SYSTEM_VERITY_PARTITION := /dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/system
+3 −13
Original line number Diff line number Diff line
# Inherit for devices that support 64-bit primary and 32-bit secondary zygote startup script
#ifeq ($(MTK_K64_SUPPORT), yes)
# $(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
#endif

# Inherit from those products. Most specific first.
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk)

# Set target and base project for flavor build
MTK_TARGET_PROJECT := $(subst full_,,$(TARGET_PRODUCT))
MTK_BASE_PROJECT := $(MTK_TARGET_PROJECT)
MTK_BASE_PROJECT := X5PRO
MTK_PROJECT_FOLDER := $(shell find device/* -maxdepth 1 -name $(MTK_BASE_PROJECT))
MTK_TARGET_PROJECT_FOLDER := $(shell find device/* -maxdepth 1 -name $(MTK_TARGET_PROJECT))

# This is where we'd set a backup provider if we had one
#$(call inherit-product, device/sample/products/backup_overlay.mk)
# Inherit from maguro device
$(call inherit-product, device/DOOGEE/$(MTK_TARGET_PROJECT)/device.mk)
$(call inherit-product, device/DOOGEE/X5PRO/device.mk)

# set locales & aapt config.
include $(MTK_TARGET_PROJECT_FOLDER)/ProjectConfig.mk
include device/DOOGEE/X5PRO/ProjectConfig.mk
ifneq (,$(filter OP01%, $(OPTR_SPEC_SEG_DEF)))
  ifeq ($(OP01_COMPATIBLE), yes)
    PRODUCT_LOCALES:=zh_CN en_US zh_TW ja_JP en_GB fr_FR
@@ -34,9 +27,6 @@ endif

# Set those variables here to overwrite the inherited values.
PRODUCT_MANUFACTURER := alps
PRODUCT_NAME := full_X5PRO
PRODUCT_DEVICE := X5PRO
PRODUCT_MODEL := X5PRO
PRODUCT_POLICY := android.policy_phone
PRODUCT_BRAND := DOOGEE
TARGET_OTA_ASSERT_DEVICE := X5pro

X5PRO/full_X5PROx32.mk

0 → 100644
+9 −0
Original line number Diff line number Diff line
# Inherit from those products. Most specific first.
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk)

PRODUCT_NAME := full_X5PROx32
PRODUCT_DEVICE := X5PROx32
PRODUCT_MODEL := X5PROx32

include device/DOOGEE/X5PRO/full_X5PRO.mk
Loading