BoardConfigCommon.mk revision 125fd3e6d914d0b7b83df4f8d5a7061ebbf239e5
1# Copyright (C) 2010 The Android Open Source Project 2# 3# Licensed under the Apache License, Version 2.0 (the "License"); 4# you may not use this file except in compliance with the License. 5# You may obtain a copy of the License at 6# 7# http://www.apache.org/licenses/LICENSE-2.0 8# 9# Unless required by applicable law or agreed to in writing, software 10# distributed under the License is distributed on an "AS IS" BASIS, 11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12# See the License for the specific language governing permissions and 13# limitations under the License. 14 15# 16# This file sets variables that control the way modules are built 17# thorughout the system. It should not be used to conditionally 18# disable makefiles (the proper mechanism to control what gets 19# included in a build is to use PRODUCT_PACKAGES in a product 20# definition file). 21# 22 23# inherit from the proprietary version 24# needed for BP-flashing updater extensions 25 26TARGET_BOARD_PLATFORM := tegra3 27TARGET_TEGRA_VERSION := t30 28 29TARGET_CPU_ABI := armeabi-v7a 30TARGET_CPU_ABI2 := armeabi 31TARGET_CPU_SMP := true 32TARGET_ARCH := arm 33TARGET_ARCH_VARIANT := armv7-a-neon 34ARCH_ARM_HAVE_TLS_REGISTER := true 35ARCH_ARM_USE_NON_NEON_MEMCPY := true 36 37TARGET_USERIMAGES_USE_EXT4 := true 38 39BOARD_SYSTEMIMAGE_PARTITION_SIZE := 681574400 40BOARD_USERDATAIMAGE_PARTITION_SIZE := 6567231488 41BOARD_FLASH_BLOCK_SIZE := 4096 42 43# Wifi related defines 44BOARD_WPA_SUPPLICANT_DRIVER := NL80211 45WPA_SUPPLICANT_VERSION := VER_0_8_X 46BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_bcmdhd 47BOARD_HOSTAPD_DRIVER := NL80211 48BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_bcmdhd 49BOARD_WLAN_DEVICE := bcmdhd 50#WIFI_DRIVER_MODULE_PATH := "/system/lib/modules/bcm4329.ko" 51WIFI_DRIVER_FW_PATH_PARAM := "/sys/module/bcmdhd/parameters/firmware_path" 52WIFI_DRIVER_FW_PATH_STA := "/vendor/firmware/fw_bcmdhd.bin" 53WIFI_DRIVER_FW_PATH_AP := "/vendor/firmware/fw_bcmdhd_apsta.bin" 54WIFI_DRIVER_FW_PATH_P2P := "/vendor/firmware/fw_bcmdhd_p2p.bin" 55 56TARGET_BOOTLOADER_BOARD_NAME := grouper 57 58BOARD_USES_GENERIC_AUDIO := false 59BOARD_USES_ALSA_AUDIO := false 60 61BOARD_USES_GENERIC_INVENSENSE := false 62 63BOARD_HAVE_BLUETOOTH := true 64BOARD_HAVE_BLUETOOTH_BCM := true 65 66USE_OPENGL_RENDERER := true 67BOARD_EGL_CFG := device/asus/grouper/egl.cfg 68 69ifneq ($(HAVE_NVIDIA_PROP_SRC),false) 70# needed for source compilation of nvidia libraries 71-include vendor/nvidia/proprietary_src/build/definitions.mk 72-include vendor/nvidia/build/definitions.mk 73endif 74 75# Avoid the generation of ldrcc instructions 76NEED_WORKAROUND_CORTEX_A9_745320 := true 77 78TARGET_RELEASETOOLS_EXTENSIONS := device/asus/grouper 79 80BOARD_USES_GROUPER_MODULES := true 81