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