BoardConfig.mk revision fefe23cb22e507810482bf685c7af343879274c6
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_VARIANT := armv7-a-neon
23ARCH_ARM_HAVE_TLS_REGISTER := true
24
25TARGET_NO_BOOTLOADER := true
26
27BOARD_KERNEL_BASE := 0x80200000
28BOARD_KERNEL_PAGESIZE := 2048
29BOARD_KERNEL_CMDLINE := console=ttyHSL0,115200,n8 androidboot.hardware=mako lpj=67677
30
31BOARD_USES_ALSA_AUDIO:= true
32
33TARGET_NO_RADIOIMAGE := true
34TARGET_BOARD_PLATFORM := msm8960
35TARGET_BOOTLOADER_BOARD_NAME := MAKO
36TARGET_BOOTLOADER_NAME=mako
37#TARGET_BOARD_INFO_FILE := device/lge/j1tm/board-info.txt
38
39# FIXME: HOSTAPD-derived wifi driver 
40ifeq (0,0)
41BOARD_HAS_QCOM_WLAN := true
42BOARD_WPA_SUPPLICANT_DRIVER := NL80211
43BOARD_HOSTAPD_DRIVER := NL80211
44WPA_SUPPLICANT_VERSION := VER_2_0_DEV
45HOSTAPD_VERSION := VER_2_0_DEV
46WIFI_DRIVER_FW_PATH_STA := "sta"
47WIFI_DRIVER_FW_PATH_AP  := "ap"
48WIFI_DRIVER_FW_PATH_P2P := "p2p"
49WIFI_DRIVER_CONF_FILE := "/data/misc/wifi/WCNSS_qcom_cfg.ini"
50WIFI_DRIVER_DEF_CONF_FILE := $(WIFI_DRIVER_CONF_FILE)
51BOARD_WLAN_DEVICE := qcwcn
52endif
53
54BOARD_EGL_CFG := device/lge/mako/egl.cfg
55
56# no hardware audio
57BOARD_USES_GENERIC_AUDIO := true
58
59# no hardware camera
60USE_CAMERA_STUB := true
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 := "BGRA_8888"
71
72TARGET_USERIMAGES_USE_EXT4 := true
73BOARD_BOOTIMAGE_PARTITION_SIZE := 0x016E3600
74BOARD_RECOVERYIMAGE_PARTITION_SIZE := 0x016E3600
75BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1207959552  # 1.1GB
76BOARD_USERDATAIMAGE_PARTITION_SIZE := 1073741824
77BOARD_FLASH_BLOCK_SIZE := 131072 # (BOARD_KERNEL_PAGESIZE * 64)
78
79BOARD_USES_SECURE_SERVICES := true
80
81-include vendor/lge/mako/BoardConfigVendor.mk
82