BoardConfig.mk revision 7bd37b89b5a228082804b179a7fef8a653a6246f
1#
2# Copyright (C) 2011 The Android Open-Source Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8#      http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
17TARGET_GLOBAL_CFLAGS += -mfpu=neon -mfloat-abi=softfp
18TARGET_GLOBAL_CPPFLAGS += -mfpu=neon -mfloat-abi=softfp
19TARGET_CPU_ABI := armeabi-v7a
20TARGET_CPU_ABI2 := armeabi
21TARGET_CPU_SMP := true
22TARGET_ARCH := arm
23TARGET_ARCH_VARIANT := armv7-a-neon
24ARCH_ARM_HAVE_TLS_REGISTER := true
25
26TARGET_NO_BOOTLOADER := true
27
28BOARD_KERNEL_BASE := 0x80200000
29BOARD_KERNEL_PAGESIZE := 2048
30BOARD_KERNEL_CMDLINE := console=ttyHSL0,115200,n8 androidboot.hardware=mako lpj=67677
31BOARD_MKBOOTIMG_ARGS := --ramdisk_offset 0x01500000
32
33BOARD_USES_ALSA_AUDIO:= true
34BOARD_USES_FLUENCE_INCALL := true
35BOARD_USES_SEPERATED_AUDIO_INPUT := true
36
37BOARD_HAVE_BLUETOOTH := true
38BOARD_HAVE_BLUETOOTH_QCOM := true
39BLUETOOTH_HCI_USE_MCT := true
40
41TARGET_NO_RADIOIMAGE := true
42TARGET_BOARD_PLATFORM := msm8960
43TARGET_BOOTLOADER_BOARD_NAME := MAKO
44TARGET_BOOTLOADER_NAME=mako
45TARGET_BOARD_INFO_FILE := device/lge/mako/board-info.txt
46
47BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/lge/mako/bluetooth
48
49# FIXME: HOSTAPD-derived wifi driver
50BOARD_HAS_QCOM_WLAN := true
51BOARD_WLAN_DEVICE := qcwcn
52WPA_SUPPLICANT_VERSION := VER_0_8_X
53BOARD_WPA_SUPPLICANT_DRIVER := NL80211
54BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_$(BOARD_WLAN_DEVICE)
55BOARD_HOSTAPD_DRIVER := NL80211
56BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_$(BOARD_WLAN_DEVICE)
57WIFI_DRIVER_FW_PATH_STA := "sta"
58WIFI_DRIVER_FW_PATH_AP  := "ap"
59
60BOARD_EGL_CFG := device/lge/mako/egl.cfg
61
62#BOARD_USES_HGL := true
63#BOARD_USES_OVERLAY := true
64USE_OPENGL_RENDERER := true
65TARGET_USES_ION := true
66TARGET_USES_OVERLAY := true
67TARGET_USES_SF_BYPASS := true
68TARGET_USES_C2D_COMPOSITON := true
69
70TARGET_RECOVERY_PIXEL_FORMAT := "RGBX_8888"
71TARGET_RECOVERY_UI_LIB := librecovery_ui_mako
72
73TARGET_USERIMAGES_USE_EXT4 := true
74BOARD_BOOTIMAGE_PARTITION_SIZE := 23068672 # 22M
75BOARD_RECOVERYIMAGE_PARTITION_SIZE := 23068672 # 22M
76BOARD_SYSTEMIMAGE_PARTITION_SIZE := 880803840 # 840M
77
78BOARD_USERDATAIMAGE_PARTITION_SIZE := 6189744128 # 5.9G
79BOARD_FLASH_BLOCK_SIZE := 131072 # (BOARD_KERNEL_PAGESIZE * 64)
80
81BOARD_USES_SECURE_SERVICES := true
82
83BOARD_USES_EXTRA_THERMAL_SENSOR := true
84
85BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE := $(TARGET_BOARD_PLATFORM)
86TARGET_NO_RPC := true
87
88TARGET_RELEASETOOLS_EXTENSIONS := device/lge/mako
89
90-include vendor/lge/mako/BoardConfigVendor.mk
91