Commit c1399827 authored by Rob Shannon's avatar Rob Shannon

Woops part2

parent 4d3790a1
......@@ -23,6 +23,8 @@
# WARNING: This line must come *before* including the proprietary
# variant, so that it gets overwritten by the parent (which goes
# against the traditional rules of inheritance).
# Skip droiddoc build to save build time
BOARD_SKIP_ANDROID_DOC_BUILD := true
# Audio
BOARD_USES_GENERIC_AUDIO := false
......@@ -33,10 +35,14 @@ COMMON_GLOBAL_CFLAGS += -DICS_AUDIO_BLOB
USE_CAMERA_STUB := false
CAMERA_USES_SURFACEFLINGER_CLIENT_STUB := true
BOARD_HAVE_HTC_FFC := true
BOARD_CAMERA_HAVE_ISO := true
# Flags
TARGET_GLOBAL_CFLAGS += -mfpu=neon -mfloat-abi=softfp
TARGET_GLOBAL_CPPFLAGS += -mfpu=neon -mfloat-abi=softfp
USE_MORE_OPT_FLAGS := yes
#BASE_CFLAGS := -mfpu=neon -mfloat-abi=softfp
#TARGET_GLOBAL_CFLAGS += $(BASE_CFLAGS)
#TARGET_GLOBAL_CPPFLAGS += $(BASE_CFLAGS)
# Board
TARGET_BOARD_PLATFORM := tegra
......@@ -48,24 +54,25 @@ TARGET_ARCH_VARIANT := armv7-a-neon
TARGET_ARCH_VARIANT_CPU := cortex-a9
TARGET_CPU_SMP := true
ARCH_ARM_HAVE_TLS_REGISTER := true
TARGET_EXTRA_CFLAGS += -mtune=cortex-a9 -mcpu=cortex-a9
# Board nameing
TARGET_NO_RADIOIMAGE := true
TARGET_BOOTLOADER_BOARD_NAME :=
TARGET_BOARD_PLATFORM := tegra
TARGET_TEGRA_VERSION := t30
# Enable WEBGL in WebKit
ENABLE_WEBGL := true
# EGL settings
USE_OPENGL_RENDERER := true
BOARD_EGL_CFG := device/htc/evitareul/configs/egl.cfg
BOARD_EGL_NEEDS_LEGACY_FB := true
BOARD_EGL_CFG := device/htc/enrc2b/configs/egl.cfg
# Kernel
TARGET_PROVIDES_INIT_TARGET_RC := true
TARGET_PREBUILT_KERNEL := device/htc/evitareul/prebuilt/kernel
TARGET_KERNEL_SOURCE := kernel/htc/evitareul
TARGET_KERNEL_CONFIG := evitareul_defconfig
# Graphics - Skia
BOARD_USE_SKIA_LCDTEXT := true
# WPA Supplicant
# Wifi related defines
BOARD_WPA_SUPPLICANT_DRIVER := NL80211
WPA_SUPPLICANT_VERSION := VER_0_8_X
BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_bcmdhd
......@@ -78,20 +85,39 @@ WIFI_DRIVER_FW_PATH_STA := "/system/etc/firmware/fw_bcm4334.bin"
WIFI_DRIVER_FW_PATH_AP := "/system/etc/firmware/fw_bcm4334_apsta.bin"
WIFI_DRIVER_FW_PATH_P2P := "/system/etc/firmware/fw_bcm4334_p2p.bin"
# NFC
BOARD_HAVE_NFC := true
# BT
BOARD_HAVE_BLUETOOTH := true
BOARD_HAVE_BLUETOOTH_BCM := true
BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR ?= device/htc/enrc2b/bluetooth
# HTC ril compatability
BOARD_USE_NEW_LIBRIL_HTC := true
TARGET_PROVIDES_LIBRIL := device/htc/evitareul/proprietary/lib/libril.so
TARGET_PROVIDES_LIBRIL := device/htc/enrc2b/proprietary/lib/libhtc-ril.so
# USB
TARGET_USE_CUSTOM_LUN_FILE_PATH := "/sys/class/android_usb/f_mass_storage/lun0/file"
BOARD_VOLD_EMMC_SHARES_DEV_MAJOR := true
BOARD_VOLD_MAX_PARTITIONS := 22
BOARD_HAS_SDCARD_INTERNAL := true
# HTCLOG
COMMON_GLOBAL_CFLAGS += -DHTCLOG
# Enable WEBGL in WebKit
ENABLE_WEBGL := true
# Kernel
TARGET_PROVIDES_INIT_TARGET_RC := true
TARGET_PREBUILT_KERNEL := device/htc/evitareul/prebuilt/kernel
TARGET_KERNEL_SOURCE := kernel/htc/evitareul
TARGET_KERNEL_CONFIG := evitareul_defconfig
# NFC
BOARD_HAVE_NFC := true
# HTC ril compatability
BOARD_USE_NEW_LIBRIL_HTC := true
TARGET_PROVIDES_LIBRIL := device/htc/evitareul/proprietary/lib/libril.so
# Enable WEBGL in WebKit
ENABLE_WEBGL := true
# Partition Info
#dev: size erasesize name
#mmcblk0p5: 00800000 00001000 "recovery"
......
File added
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment