blob: 8911607d4a04342718e215be1eaacc8964d842c8 [file] [log] [blame]
Jean-Baptiste Queru671476b2012-05-29 10:40:37 -07001# 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# WARNING: This line must come *before* including the proprietary
24# variant, so that it gets overwritten by the parent (which goes
25# against the traditional rules of inheritance).
26# The proprietary variant sets USE_CAMERA_STUB := false, this way
27# we use the camera stub when the vendor tree isn't present, and
28# the true camera library when the vendor tree is available. Similarly,
29# we set USE_PROPRIETARY_AUDIO_EXTENSIONS to true in the proprietary variant as
30# well.
31USE_CAMERA_STUB := true
32USE_PROPRIETARY_AUDIO_EXTENSIONS := false
33
34-include vendor/asus/grouper/BoardConfigVendor.mk
35
36# inherit from the proprietary version
37# needed for BP-flashing updater extensions
38
39TARGET_BOARD_PLATFORM := tegra3
40TARGET_TEGRA_VERSION := t30
41
42TARGET_CPU_ABI := armeabi-v7a
43TARGET_CPU_ABI2 := armeabi
44TARGET_CPU_SMP := true
45TARGET_ARCH := arm
46TARGET_ARCH_VARIANT := armv7-a-neon
47ARCH_ARM_HAVE_TLS_REGISTER := true
48ARCH_ARM_USE_NON_NEON_MEMCPY := true
49
50TARGET_USERIMAGES_USE_EXT4 := true
51
52BOARD_SYSTEMIMAGE_PARTITION_SIZE := 681574400
53BOARD_USERDATAIMAGE_PARTITION_SIZE := 6567231488
54BOARD_FLASH_BLOCK_SIZE := 4096
55
56# Wifi related defines
57BOARD_WPA_SUPPLICANT_DRIVER := NL80211
58WPA_SUPPLICANT_VERSION := VER_0_8_X
59BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_bcmdhd
60BOARD_HOSTAPD_DRIVER := NL80211
61BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_bcmdhd
62BOARD_WLAN_DEVICE := bcmdhd
63#WIFI_DRIVER_MODULE_PATH := "/system/lib/modules/bcm4329.ko"
64WIFI_DRIVER_FW_PATH_PARAM := "/sys/module/bcmdhd/parameters/firmware_path"
65WIFI_DRIVER_FW_PATH_STA := "/vendor/firmware/fw_bcmdhd.bin"
66WIFI_DRIVER_FW_PATH_AP := "/vendor/firmware/fw_bcmdhd_apsta.bin"
67WIFI_DRIVER_FW_PATH_P2P := "/vendor/firmware/fw_bcmdhd_p2p.bin"
68
69TARGET_BOOTLOADER_BOARD_NAME := grouper
70TARGET_BOARD_INFO_FILE := device/asus/grouper/board-info.txt
71
72BOARD_USES_GENERIC_AUDIO := false
73BOARD_USES_ALSA_AUDIO := false
74
75BOARD_USES_GENERIC_INVENSENSE := false
76
77BOARD_HAVE_BLUETOOTH := true
78BOARD_HAVE_BLUETOOTH_BCM := true
79
80BOARD_HAVE_GPS := true
81
82USE_OPENGL_RENDERER := true
83BOARD_EGL_CFG := device/asus/grouper/egl.cfg
84
85ifneq ($(HAVE_NVIDIA_PROP_SRC),false)
86# needed for source compilation of nvidia libraries
87-include vendor/nvidia/proprietary_src/build/definitions.mk
88-include vendor/nvidia/build/definitions.mk
89endif
90
91# Avoid the generation of ldrcc instructions
92NEED_WORKAROUND_CORTEX_A9_745320 := true
93
94TARGET_RECOVERY_UI_LIB := librecovery_ui_grouper
95TARGET_RELEASETOOLS_EXTENSIONS := device/asus/grouper