android_device_htc_click/BoardConfig.mk

109 lines
2.8 KiB
Makefile
Raw Normal View History

2010-09-01 17:23:34 +00:00
# config.mk
#
# Product-specific compile-time definitions.
#
# 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).
USE_CAMERA_STUB := true
2011-01-11 20:34:14 +00:00
# Fake building with froyo cam, as old libcam is not here yet
BOARD_USE_FROYO_LIBCAMERA := true
2010-09-01 17:23:34 +00:00
# inherit from the proprietary version
-include vendor/htc/click/BoardConfigVendor.mk
2010-09-01 17:23:34 +00:00
2011-01-11 20:34:14 +00:00
# ARMv6-compatible processor rev 5 (v6l)
2010-09-01 17:23:34 +00:00
TARGET_BOARD_PLATFORM := msm7k
TARGET_ARCH_VARIANT := armv6j
2011-01-11 20:34:14 +00:00
TARGET_CPU_ABI := armeabi-v6j
TARGET_CPU_ABI2 := armeabi
2011-01-11 20:34:14 +00:00
TARGET_BOOTLOADER_BOARD_NAME := bahamas
2010-09-01 17:23:34 +00:00
TARGET_NO_BOOTLOADER := true
TARGET_NO_RADIOIMAGE := true
2010-12-30 17:45:01 +00:00
BOARD_LDPI_RECOVERY := true
2011-01-11 20:34:14 +00:00
TARGET_PREBUILT_RECOVERY_KERNEL := device/htc/click/custom/recovery_kernel
TARGET_PREBUILT_KERNEL := device/htc/click/custom/kernel
2010-09-01 17:23:34 +00:00
# Wifi related defines
BOARD_WPA_SUPPLICANT_DRIVER := CUSTOM
BOARD_WPA_SUPPLICANT_PRIVATE_LIB := libWifiApi
BOARD_WLAN_DEVICE := wl1251
2010-09-01 17:23:34 +00:00
BOARD_WLAN_TI_STA_DK_ROOT := system/wlan/ti/sta_dk_4_0_4_32
WIFI_DRIVER_MODULE_PATH := /system/lib/modules/wlan.ko
2010-09-01 17:23:34 +00:00
WIFI_DRIVER_MODULE_ARG := ""
WIFI_DRIVER_MODULE_NAME := wlan
WIFI_FIRMWARE_LOADER := wlan_loader
2010-09-01 17:23:34 +00:00
2010-12-30 17:45:01 +00:00
TARGET_PROVIDES_INIT_RC := false
2010-09-01 17:23:34 +00:00
BOARD_KERNEL_CMDLINE := no_console_suspend=1 console=null
BOARD_KERNEL_BASE := 0x02E00000
2011-01-11 20:34:14 +00:00
BOARD_USES_GENERIC_AUDIO := false
# Use HTC USB Function Switch to enable tethering via USB
# BOARD_USE_HTC_USB_FUNCTION_SWITCH := true
2010-09-01 17:23:34 +00:00
2011-01-11 20:34:14 +00:00
BOARD_USE_USB_MASS_STORAGE_SWITCH := true
2010-12-25 22:46:48 +00:00
2011-01-11 20:34:14 +00:00
BOARD_HAVE_BLUETOOTH := true
BOARD_AVOID_DRAW_TEXTURE_EXTENSION := true
2010-09-01 17:23:34 +00:00
BOARD_VENDOR_USE_AKMD := akm8973
BOARD_VENDOR_QCOM_AMSS_VERSION := 1355
# Change for Gallery 3D or not
2011-01-11 20:34:14 +00:00
BOARD_HAS_LIMITED_EGL := true
2010-09-01 17:23:34 +00:00
2011-01-11 20:34:14 +00:00
TARGET_HARDWARE_3D := false
2010-09-01 17:23:34 +00:00
# OpenGL drivers config file path
BOARD_EGL_CFG := device/htc/click/custom/egl.cfg
2010-09-01 17:23:34 +00:00
2011-01-11 20:34:14 +00:00
# No authoring clock for OpenCore
# BOARD_NO_PV_AUTHORING_CLOCK := true
2010-09-01 17:23:34 +00:00
BOARD_HAVE_FM_RADIO := true
BOARD_GLOBAL_CFLAGS += -DHAVE_FM_RADIO
2011-01-11 20:34:14 +00:00
BOARD_USES_QCOM_LIBS := true
2010-09-01 17:23:34 +00:00
2011-01-11 20:34:14 +00:00
BOARD_USES_GPSSHIM := true
2010-09-01 17:23:34 +00:00
2011-01-11 20:34:14 +00:00
BOARD_GPS_LIBRARIES := libgps librpc
TARGET_LIBAGL_USE_GRALLOC_COPYBITS := true
2010-09-01 17:23:34 +00:00
2011-01-11 20:34:14 +00:00
BOARD_NO_RGBX_8888 := true
2010-09-01 17:23:34 +00:00
# WITH_DEXPREOPT := true
2011-01-11 20:34:14 +00:00
JS_ENGINE := v8
TARGET_RELEASETOOLS_EXTENSIONS := device/htc/common
2010-09-01 17:23:34 +00:00
# # cat /proc/mtd
# dev: size erasesize name
2011-01-11 20:34:14 +00:00
# mtd0: 000a0000 00020000 "misc"
2010-09-01 17:23:34 +00:00
# mtd1: 00500000 00020000 "recovery"
# mtd2: 00280000 00020000 "boot"
2011-01-11 20:34:14 +00:00
# mtd3: 09600000 00020000 "system"
# mtd4: 09600000 00020000 "cache"
# mtd5: 0a520000 00020000 "userdata"
# Changed for click
2011-01-11 20:34:14 +00:00
BOARD_BOOTIMAGE_PARTITION_SIZE := 0x00280000
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 0x00500000
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 0x09600000
BOARD_USERDATAIMAGE_PARTITION_SIZE := 0x0a520000
BOARD_FLASH_BLOCK_SIZE := 131072
# Add LUNFILE configuration to the system
BOARD_UMS_LUNFILE := "/sys/devices/platform/msm_hsusb/gadget/lun0/file"