BoardConfig.mk revision a339e742827be76d6d17b2d34af84684aced54e3
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 30BOARD_MKBOOTIMG_ARGS := --ramdisk_offset 0x01300000 31 32BOARD_USES_ALSA_AUDIO:= true 33 34BOARD_HAVE_BLUETOOTH := true 35 36TARGET_NO_RADIOIMAGE := true 37TARGET_BOARD_PLATFORM := msm8960 38TARGET_BOOTLOADER_BOARD_NAME := MAKO 39TARGET_BOOTLOADER_NAME=mako 40TARGET_BOARD_INFO_FILE := device/lge/mako/board-info.txt 41 42# FIXME: HOSTAPD-derived wifi driver 43BOARD_HAS_QCOM_WLAN := true 44BOARD_WPA_SUPPLICANT_DRIVER := NL80211 45BOARD_HOSTAPD_DRIVER := NL80211 46WPA_SUPPLICANT_VERSION := VER_2_0_DEV 47HOSTAPD_VERSION := VER_2_0_DEV 48WIFI_DRIVER_FW_PATH_STA := "sta" 49WIFI_DRIVER_FW_PATH_AP := "ap" 50#WIFI_DRIVER_FW_PATH_P2P := "p2p" 51WIFI_DRIVER_MODULE_PATH := "/system/lib/modules/wlan.ko" 52WIFI_DRIVER_MODULE_NAME := "wlan" 53WIFI_DRIVER_CONF_FILE := "/data/misc/wifi/WCNSS_qcom_cfg.ini" 54WIFI_DRIVER_DEF_CONF_FILE := $(WIFI_DRIVER_CONF_FILE) 55BOARD_WLAN_DEVICE := qcwcn 56 57BOARD_EGL_CFG := device/lge/mako/egl.cfg 58 59#BOARD_USES_HGL := true 60#BOARD_USES_OVERLAY := true 61USE_OPENGL_RENDERER := true 62TARGET_USES_ION := true 63TARGET_USES_OVERLAY := true 64TARGET_USES_SF_BYPASS := true 65TARGET_USES_C2D_COMPOSITON := true 66 67TARGET_RECOVERY_PIXEL_FORMAT := "RGBX_8888" 68TARGET_RECOVERY_UI_LIB := librecovery_ui_mako 69 70TARGET_USERIMAGES_USE_EXT4 := true 71 72BOARD_BOOTIMAGE_PARTITION_SIZE := 0x016E3600 73BOARD_RECOVERYIMAGE_PARTITION_SIZE := 0x016E3600 74BOARD_SYSTEMIMAGE_PARTITION_SIZE := 738197504 # 704M 75 76BOARD_USERDATAIMAGE_PARTITION_SIZE := 13992198144 # 13G 77BOARD_FLASH_BLOCK_SIZE := 131072 # (BOARD_KERNEL_PAGESIZE * 64) 78 79BOARD_USES_SECURE_SERVICES := true 80 81BOARD_BLUETOOTH_DOES_NOT_USE_RFKILL := true 82BOARD_BLUETOOTH_USES_HCIATTACH_PROPERTY := true 83 84BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE := $(TARGET_BOARD_PLATFORM) 85TARGET_NO_RPC := true 86 87-include vendor/lge/mako/BoardConfigVendor.mk 88