Commit 3716a8ae authored by SnowCatPDA's avatar SnowCatPDA
Browse files

First commit

parents
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
PRODUCT_MAKEFILES := $(LOCAL_DIR)/full_X5PRO.mk

X5PRO/BoardConfig.mk

0 → 100644
+28 −0
Original line number Diff line number Diff line
TARGET_BOARD_PLATFORM := mt6737m

# Use the non-open-source part, if present
-include vendor/DOOGEE/X5PRO/BoardConfigVendor.mk

# Use the 6735 common part
include device/mediatek/mt6735/BoardConfig.mk

#Config partition size
-include $(MTK_PTGEN_OUT)/partition_size.mk
BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
BOARD_FLASH_BLOCK_SIZE := 4096
#BOARD_MTK_SYSTEM_SIZE_KB := 2097152
BOARD_MTK_SYSTEM_SIZE_KB := 1572864

include device/DOOGEE/$(MTK_TARGET_PROJECT)/ProjectConfig.mk

MTK_INTERNAL_CDEFS := $(foreach t,$(AUTO_ADD_GLOBAL_DEFINE_BY_NAME),$(if $(filter-out no NO none NONE false FALSE,$($(t))),-D$(t)))
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))\"))

MTK_GLOBAL_CFLAGS += $(MTK_INTERNAL_CDEFS)

ifneq ($(MTK_K64_SUPPORT), yes)
BOARD_KERNEL_CMDLINE = bootopt=64S3,32N2,32N2
else
BOARD_KERNEL_CMDLINE = bootopt=64S3,32N2,64N2
endif

X5PRO/ProjectConfig.mk

0 → 100755
+0 −0

File added.

Preview size limit exceeded, changes collapsed.

X5PRO/WMT_SOC.cfg

0 → 100644
+9 −0
Original line number Diff line number Diff line
coex_wmt_ant_mode=1

wmt_gps_lna_pin=0
wmt_gps_lna_enable=0

co_clock_flag=0


+25 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2009 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at
  
          http://www.apache.org/licenses/LICENSE-2.0
  
     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->

<!-- This is the standard set of features for an camera. -->
<permissions>
    <feature name="android.hardware.camera" />
    <!-- unmark following line if the hardware supports autofocus -->
    <feature name="android.hardware.camera.autofocus" />
    <feature name="android.hardware.camera.flash" />
    <feature name="android.hardware.camera.front" />
    <feature name="android.hardware.camera.any" />
</permissions>