cool

2
# # Copyright 2016 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 contains the module build definitions for the hardware-specific # components for this device. # # As much as possible, those components should be built unconditionally, # with device-specific names to avoid collisions, to avoid device-specific # bitrot and build breakages. Building a component unconditionally does # *not* include it on all devices, so it is safe even with hardware-specific # components. # Bootloader TARGET_NO_BOOTLOADER := true TARGET_BOOTLOADER_BOARD_NAME := MSM8952 # Platform TARGET_BOARD_PLATFORM := msm8952 TARGET_BOARD_PLATFORM_GPU := qcom-adreno510 TARGET_PLATFORM_DEVICE_BASE := /devices/soc.0/ # Architecture TARGET_ARCH := arm64 TARGET_ARCH_VARIANT := armv8-a TARGET_CPU_ABI := arm64-v8a TARGET_CPU_ABI2 := TARGET_CPU_VARIANT := generic TARGET_CPU_SMP := true TARGET_2ND_ARCH := arm TARGET_2ND_ARCH_VARIANT := armv7-a-neon TARGET_2ND_CPU_ABI := armeabi-v7a TARGET_2ND_CPU_ABI2 := armeabi TARGET_2ND_CPU_VARIANT := generic # Flags TARGET_GLOBAL_CFLAGS += -mfpu=neon -mfloat-abi=softfp TARGET_GLOBAL_CPPFLAGS += -mfpu=neon -mfloat-abi=softfp # Kernel BOARD_KERNEL_BASE := 0x80000000 BOARD_KERNEL_CMDLINE := androidboot.console=ttyHSL0 androidboot.hardware=qcom ms m_rtb.filter=0x237 ehci-hcd.park=3 androidboot.bootdevice=7824900.sdhci lpm_leve ls.sleep_disabled=1 earlyprintk BOARD_KERNEL_PAGESIZE := 2048 BOARD_MKBOOTIMG_ARGS := --ramdisk_offset 0x02000000 --tags_offset 0x00000100 -- dt device/xiaomi/kenzo/dt.img

Upload: zeeshan-hussain

Post on 07-Jul-2016

9 views

Category:

Documents


0 download

DESCRIPTION

wew

TRANSCRIPT

Page 1: cool

## Copyright 2016 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 contains the module build definitions for the hardware-specific# components for this device.## As much as possible, those components should be built unconditionally,# with device-specific names to avoid collisions, to avoid device-specific# bitrot and build breakages. Building a component unconditionally does# *not* include it on all devices, so it is safe even with hardware-specific# components.

# BootloaderTARGET_NO_BOOTLOADER := trueTARGET_BOOTLOADER_BOARD_NAME := MSM8952

# PlatformTARGET_BOARD_PLATFORM := msm8952TARGET_BOARD_PLATFORM_GPU := qcom-adreno510TARGET_PLATFORM_DEVICE_BASE := /devices/soc.0/

# ArchitectureTARGET_ARCH := arm64TARGET_ARCH_VARIANT := armv8-aTARGET_CPU_ABI := arm64-v8aTARGET_CPU_ABI2 :=TARGET_CPU_VARIANT := genericTARGET_CPU_SMP := true

TARGET_2ND_ARCH := armTARGET_2ND_ARCH_VARIANT := armv7-a-neonTARGET_2ND_CPU_ABI := armeabi-v7aTARGET_2ND_CPU_ABI2 := armeabiTARGET_2ND_CPU_VARIANT := generic

# FlagsTARGET_GLOBAL_CFLAGS += -mfpu=neon -mfloat-abi=softfpTARGET_GLOBAL_CPPFLAGS += -mfpu=neon -mfloat-abi=softfp

# KernelBOARD_KERNEL_BASE := 0x80000000BOARD_KERNEL_CMDLINE := androidboot.console=ttyHSL0 androidboot.hardware=qcom msm_rtb.filter=0x237 ehci-hcd.park=3 androidboot.bootdevice=7824900.sdhci lpm_levels.sleep_disabled=1 earlyprintkBOARD_KERNEL_PAGESIZE := 2048BOARD_MKBOOTIMG_ARGS := --ramdisk_offset 0x02000000 --tags_offset 0x00000100 --dt device/xiaomi/kenzo/dt.img

Page 2: cool

BOARD_CUSTOM_BOOTIMG_MK := device/xiaomi/kenzo/mkbootimg.mkTARGET_PREBUILT_KERNEL := device/xiaomi/kenzo/kernel

# PartitionsBOARD_BOOTIMAGE_PARTITION_SIZE := 67108864BOARD_RECOVERYIMAGE_PARTITION_SIZE := 67108864BOARD_SYSTEMIMAGE_PARTITION_SIZE := 2684354560BOARD_USERDATAIMAGE_PARTITION_SIZE := 26838785024 # (26838801408 - 16384)BOARD_FLASH_BLOCK_SIZE := 131072

# RecoveryTARGET_USERIMAGES_USE_EXT4 := trueTARGET_USERIMAGES_USE_F2FS := true

# TWRPRECOVERY_GRAPHICS_USE_LINELENGTH := trueTARGET_RECOVERY_QCOM_RTC_FIX := trueBOARD_SUPPRESS_SECURE_ERASE := trueRECOVERY_SDCARD_ON_DATA := trueTW_DEFAULT_EXTERNAL_STORAGE := trueTW_BRIGHTNESS_PATH := /sys/class/leds/lcd-backlight/brightnessTW_INCLUDE_CRYPTO := trueTW_THEME := portrait_hdpiHAS_MOUSE := 0

# MULTIROMTARGET_RECOVERY_IS_MULTIROM := trueMR_INPUT_TYPE := type_aMR_INIT_DEVICES := device/xiaomi/kenzo/multirom/mr_init_devices.cDEVICE_RESOLUTION := 1080 x 1920MR_DPI := hdpiMR_DPI_FONT := 216MR_FSTAB := device/xiaomi/kenzo/twrp.fstabMR_DEVICE_HOOKS := device/xiaomi/kenzo/multirom/mr_hooks.cMR_KEXEC_MEM_MIN := 0x0MR_DEVICE_HOOKS_VER := 5MR_DEVICE_VARIANTS := kenzo