update config

This commit is contained in:
Valera1978 2016-11-17 14:23:41 +03:00
parent 4c9ab08f5a
commit 37b761bc07

View file

@ -29,6 +29,9 @@ TARGET_OTA_ASSERT_DEVICE := viennalte,viennaltexx
#BLOCK_BASED_OTA:= false #BLOCK_BASED_OTA:= false
# Use Snapdragon LLVM if available on build server
TARGET_USE_SDCLANG := true
# Bootloader # Bootloader
TARGET_BOOTLOADER_BOARD_NAME := MSM8974 TARGET_BOOTLOADER_BOARD_NAME := MSM8974
@ -44,28 +47,8 @@ TARGET_KERNEL_CONFIG := msm8974_sec_defconfig
TARGET_KERNEL_VARIANT_CONFIG := msm8974_sec_viennalteeur_cm_defconfig TARGET_KERNEL_VARIANT_CONFIG := msm8974_sec_viennalteeur_cm_defconfig
# Audio # Audio
QCOM_CSDCLIENT_ENABLED := false BOARD_HAVE_NEW_QCOM_CSDCLIENT := true
AUDIO_FEATURE_LOW_LATENCY_PRIMARY := true USE_CUSTOM_AUDIO_POLICY := 1
AUDIO_FEATURE_ENABLED_HWDEP_CAL := true
AUDIO_FEATURE_ENABLED_LOW_LATENCY_CAPTURE := true
# Camera
TARGET_PROVIDES_CAMERA_HAL := true
USE_DEVICE_SPECIFIC_CAMERA := true
TARGET_HAS_LEGACY_CAMERA_HAL1 := true
TARGET_NEEDS_PLATFORM_TEXT_RELOCATIONS := true
# Charger
BOARD_CHARGER_SHOW_PERCENTAGE := true
# Graphics
TARGET_HAVE_NEW_GRALLOC := true
# Hardware
BOARD_HARDWARE_CLASS += device/samsung/viennalte/cmhw
# Lights
TARGET_PROVIDES_LIBLIGHT := true
# Bluetooth # Bluetooth
BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/samsung/viennalte/bluetooth BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/samsung/viennalte/bluetooth
@ -73,6 +56,27 @@ BOARD_CUSTOM_BT_CONFIG := device/samsung/viennalte/bluetooth/vnd_viennalte.txt
BOARD_BLUETOOTH_USES_HCIATTACH_PROPERTY := false BOARD_BLUETOOTH_USES_HCIATTACH_PROPERTY := false
BOARD_HAVE_BLUETOOTH_BCM := true BOARD_HAVE_BLUETOOTH_BCM := true
# Camera
TARGET_PROVIDES_CAMERA_HAL := true
TARGET_HAS_LEGACY_CAMERA_HAL1 := true
USE_DEVICE_SPECIFIC_CAMERA := true
# Charger
BOARD_CHARGER_SHOW_PERCENTAGE := true
# Hardware
BOARD_HARDWARE_CLASS += device/samsung/viennalte/cmhw
# Display
SF_VSYNC_EVENT_PHASE_OFFSET_NS := 5000000
VSYNC_EVENT_PHASE_OFFSET_NS := 7500000
# Legacy BLOB Support
TARGET_NEEDS_PLATFORM_TEXT_RELOCATIONS := true
# Lights
TARGET_PROVIDES_LIBLIGHT := true
# ANT+ # ANT+
BOARD_ANT_WIRELESS_DEVICE := "vfs-prerelease" BOARD_ANT_WIRELESS_DEVICE := "vfs-prerelease"
@ -92,6 +96,9 @@ TARGET_USERIMAGES_USE_F2FS := true
TARGET_POWERHAL_VARIANT := qcom TARGET_POWERHAL_VARIANT := qcom
TARGET_POWERHAL_SET_INTERACTIVE_EXT := device/samsung/viennalte/power/power_ext.c TARGET_POWERHAL_SET_INTERACTIVE_EXT := device/samsung/viennalte/power/power_ext.c
# RIL
BOARD_RIL_CLASS := ../../../device/samsung/viennalte/ril
# Recovery # Recovery
# COMMON_GLOBAL_CFLAGS += -DNO_SECURE_DISCARD # COMMON_GLOBAL_CFLAGS += -DNO_SECURE_DISCARD
BOARD_HAS_LARGE_FILESYSTEM := true BOARD_HAS_LARGE_FILESYSTEM := true
@ -102,9 +109,6 @@ BOARD_USE_CUSTOM_RECOVERY_FONT := \"roboto_23x41.h\"
BOARD_USES_MMCUTILS := true BOARD_USES_MMCUTILS := true
TARGET_RECOVERY_FSTAB := device/samsung/viennalte/rootdir/etc/fstab.qcom TARGET_RECOVERY_FSTAB := device/samsung/viennalte/rootdir/etc/fstab.qcom
# RIL
BOARD_RIL_CLASS := ../../../device/samsung/viennalte/ril
# SELinux # SELinux
include device/qcom/sepolicy/sepolicy.mk include device/qcom/sepolicy/sepolicy.mk
BOARD_SEPOLICY_DIRS += device/samsung/viennalte/sepolicy BOARD_SEPOLICY_DIRS += device/samsung/viennalte/sepolicy
@ -126,3 +130,6 @@ WIFI_DRIVER_FW_PATH_PARAM := "/sys/module/dhd/parameters/firmware_path"
WIFI_DRIVER_FW_PATH_STA := "/system/etc/wifi/bcmdhd_sta.bin" WIFI_DRIVER_FW_PATH_STA := "/system/etc/wifi/bcmdhd_sta.bin"
WIFI_DRIVER_MODULE_ARG := "firmware_path=/system/etc/wifi/bcmdhd_sta.bin nvram_path=/system/etc/wifi/nvram_net.txt" WIFI_DRIVER_MODULE_ARG := "firmware_path=/system/etc/wifi/bcmdhd_sta.bin nvram_path=/system/etc/wifi/nvram_net.txt"
WIFI_DRIVER_MODULE_AP_ARG := "firmware_path=/system/etc/wifi/bcmdhd_apsta.bin nvram_path=/system/etc/wifi/nvram_net.txt" WIFI_DRIVER_MODULE_AP_ARG := "firmware_path=/system/etc/wifi/bcmdhd_apsta.bin nvram_path=/system/etc/wifi/nvram_net.txt"
WIFI_DRIVER_NVRAM_PATH_PARAM:= "/sys/module/dhd/parameters/nvram_path"
WIFI_DRIVER_NVRAM_PATH := "/system/etc/wifi/nvram_net.txt"