Commit 9def7d9d authored by SnowCatPDA's avatar SnowCatPDA
Browse files

UPDATE

parents 1e3f8470 72810bbf
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -28,8 +28,8 @@ MTK_INTERNAL_CDEFS := $(foreach t,$(AUTO_ADD_GLOBAL_DEFINE_BY_NAME),$(if $(filte
MTK_INTERNAL_CDEFS += $(foreach t,$(AUTO_ADD_GLOBAL_DEFINE_BY_VALUE),$(if $(filter-out no NO none NONE false FALSE,$($(t))),$(foreach v,$(shell echo $($(t)) | tr '[a-z]' '[A-Z]'),-D$(v))))
MTK_INTERNAL_CDEFS += $(foreach t,$(AUTO_ADD_GLOBAL_DEFINE_BY_NAME_VALUE),$(if $(filter-out no NO none NONE false FALSE,$($(t))),-D$(t)=\"$($(t))\"))

COMMON_GLOBAL_CFLAGS += $(MTK_INTERNAL_CDEFS)
COMMON_GLOBAL_CPPFLAGS += $(MTK_INTERNAL_CDEFS)
#COMMON_GLOBAL_CFLAGS += $(MTK_INTERNAL_CDEFS)
#COMMON_GLOBAL_CPPFLAGS += $(MTK_INTERNAL_CDEFS)

ifneq ($(MTK_K64_SUPPORT), yes)
BOARD_KERNEL_CMDLINE = bootopt=64S3,32N2,32N2
+13 −13
Original line number Diff line number Diff line
@@ -19,12 +19,12 @@ CUSTOM_HAL_CAM_CAL = dummy_eeprom
CUSTOM_HAL_COMBO = mt6735
CUSTOM_HAL_EEPROM = dummy_eeprom
CUSTOM_HAL_FLASHLIGHT = constant_flashlight
CUSTOM_HAL_IMGSENSOR = gc2355_mipi_raw s5k5e2ya_mipi_raw hi841_mipi_raw
CUSTOM_HAL_IMGSENSOR = gc2355_mipi_raw s5k5e2ya_mipi_raw
CUSTOM_HAL_LENS = fm50af dummy_lens
CUSTOM_HAL_MAIN2_IMGSENSOR =
CUSTOM_HAL_MAIN_BACKUP_IMGSENSOR =
CUSTOM_HAL_MAIN_BACKUP_LENS = 
CUSTOM_HAL_MAIN_IMGSENSOR = s5k5e2ya_mipi_raw hi841_mipi_raw
CUSTOM_HAL_MAIN_IMGSENSOR = s5k5e2ya_mipi_raw
CUSTOM_HAL_MAIN_LENS = fm50af
CUSTOM_HAL_MSENSORLIB = 
CUSTOM_HAL_SENSORS = sensor
@@ -44,7 +44,7 @@ CUSTOM_KERNEL_EEPROM = dummy_eeprom
CUSTOM_KERNEL_FLASHLIGHT = constant_flashlight
CUSTOM_KERNEL_GYROSCOPE =
CUSTOM_KERNEL_HEADSET = accdet
CUSTOM_KERNEL_IMGSENSOR = gc2355_mipi_raw s5k5e2ya_mipi_raw hi841_mipi_raw
CUSTOM_KERNEL_IMGSENSOR = gc2355_mipi_raw s5k5e2ya_mipi_raw
CUSTOM_KERNEL_KPD = kpd
CUSTOM_KERNEL_LEDS = mt65xx
CUSTOM_KERNEL_LENS = fm50af dummy_lens
@@ -128,7 +128,7 @@ MTK_ANT_SUPPORT = no
MTK_API_CHECK = yes
MTK_APKINSTALLER_APP = no
MTK_APPENDED_DTB_SUPPORT = yes
MTK_APP_GUIDE = yes
MTK_APP_GUIDE = no
MTK_AP_SPEECH_ENHANCEMENT = no
MTK_ASD_SUPPORT = yes
MTK_ASR_SUPPORT = no
@@ -311,7 +311,7 @@ MTK_FACTORY_MODE_IN_GB2312 = yes
MTK_FACTORY_RESET_PROTECTION_SUPPORT = yes
MTK_FAN5402_SUPPORT = no
MTK_FAN5405_SUPPORT = no
MTK_FASTBOOT_SUPPORT = yes
MTK_FASTBOOT_SUPPORT = no
MTK_FAT_ON_NAND = no
MTK_FD_FORCE_REL_SUPPORT = no
MTK_FD_SUPPORT = yes
@@ -337,7 +337,7 @@ MTK_FOTA_RELEASE = no
MTK_FOTA_SUPPORT = no
MTK_FSCK_MSDOS_MTK = no
MTK_FSCK_TUNE = no
MTK_FW_UPGRADE = yes
MTK_FW_UPGRADE = no
MTK_FW_UPGRADE_APP = no
MTK_GALLERY_VIDEOPLAYER_APP = no
MTK_GAMELOFT_ASPHALTINJECTION_APP = no
@@ -434,7 +434,7 @@ MTK_MAV_PLAYBACK_SUPPORT = yes
MTK_MAV_SUPPORT = yes
MTK_MD1_SUPPORT = 5
MTK_MD2_SUPPORT = 4
MTK_MD3_SUPPORT = 0
MTK_MD3_SUPPORT = 2
MTK_MD5_SUPPORT = 5
MTK_MDLOGGER_SUPPORT = yes
MTK_MDM_APP = no
@@ -602,7 +602,7 @@ MTK_SVLTE_SUPPORT = no
MTK_SWCHR_SUPPORT = no
MTK_SWIP_VORBIS = yes
MTK_SWIP_WMAPRO = no
MTK_SYSTEM_UPDATE_SUPPORT = yes
MTK_SYSTEM_UPDATE_SUPPORT = no
MTK_TABLET_PLATFORM = no
MTK_TABLET_PLUGIN_BUILD = no
MTK_TB_APP_CALL_FORCE_SPEAKER_ON = no
@@ -644,7 +644,7 @@ MTK_VIDEO_4KH264_SUPPORT = no
MTK_VIDEO_HEVC_SUPPORT = no
MTK_VIDEO_THUMBNAIL_PLAY_SUPPORT = yes
MTK_VIDEO_VP8ENC_SUPPORT = no
MTK_VILTE_SUPPORT = yes
MTK_VILTE_SUPPORT = no
MTK_VLW_APP = no
MTK_VOICE_CONTACT_SEARCH_SUPPORT = no
MTK_VOICE_INTERFACE_EXTENSION_SUPPORT = no
@@ -654,7 +654,7 @@ MTK_VOICE_UNLOCK_USE_TAB_LIB = no
MTK_VOIP_ENHANCEMENT_SUPPORT = yes
MTK_VOIP_HANDSFREE_DMNR = no
MTK_VOIP_NORMAL_DMNR = no
MTK_VOLTE_SUPPORT = yes
MTK_VOLTE_SUPPORT = no
MTK_VOW_SUPPORT = no
MTK_VSS_SUPPORT = no
MTK_VT3G324M_SUPPORT = no
@@ -691,7 +691,7 @@ NAND_OTP_SUPPORT = no
NO_INIT_PERMISSION_CHECK = yes
NXP_SMARTPA_SUPPORT = no_nxp
OP01_COMPATIBLE = no
OPTR_SPEC_SEG_DEF = NONE
OPTR_SPEC_SEG_DEF =
PURE_AP_USE_EXTERNAL_MODEM = no
SENSOR_BATCH_SUPPORT = no
SIM_ME_LOCK_MODE = 0
@@ -702,8 +702,8 @@ TRUSTONIC_TEE_SUPPORT = no
USE_FRAUNHOFER_AAC = yes
WIFI_WEP_KEY_ID_SET = no
MTK_FDE_NO_FORCE = yes
MTK_ENCRYPTION_DEFAULT_OFF=yes
#MALLOC_IMPL = dlmalloc

MALLOC_IMPL = dlmalloc
#HAVE_SRSAUDIOEFFECT_FEATURE = yes

MTK_PHONE_VOICE_RECORDING=yes
+712 −0

File added.

Preview size limit exceeded, changes collapsed.

+655 −0

File added.

Preview size limit exceeded, changes collapsed.

+4 −3
Original line number Diff line number Diff line
@@ -37,12 +37,13 @@ DEVICE_PACKAGE_OVERLAYS += device/mediatek/common/overlay/navbar

# Add proprietary binary files
PRODUCT_COPY_FILES += \
	$(call find-copy-subdir-files,*,$(LOCAL_PATH)/system,system) \
	$(call find-copy-subdir-files,*,$(LOCAL_PATH)/system-$(THIS_ANDROID_VERSION),system)
	$(call find-copy-subdir-files,*,$(LOCAL_PATH)/system/common/,system) \
	$(call find-copy-subdir-files,*,$(LOCAL_PATH)/system/system-$(THIS_ANDROID_VERSION),system)

# Add proprietary files to ram-fs for boot.img
PRODUCT_COPY_FILES += \
    $(call find-copy-subdir-files,*,$(LOCAL_PATH)/root,root)
    $(call find-copy-subdir-files,*,$(LOCAL_PATH)/root/common,root) \
    $(call find-copy-subdir-files,*,$(LOCAL_PATH)/root/root-$(THIS_ANDROID_VERSION),root)

########################################################
# Set default USB interface
Loading