Jean-Baptiste Queru | a057d5d | 2012-08-03 14:48:09 -0700 | [diff] [blame] | 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 | |
Wink Saville | 2c9956e | 2012-08-20 14:39:02 -0700 | [diff] [blame] | 26 | # Default value, if not overridden else where. |
| 27 | BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR ?= device/asus/grouper/bluetooth |
| 28 | |
Jean-Baptiste Queru | a057d5d | 2012-08-03 14:48:09 -0700 | [diff] [blame] | 29 | TARGET_BOARD_PLATFORM := tegra3 |
| 30 | TARGET_TEGRA_VERSION := t30 |
| 31 | |
| 32 | TARGET_CPU_ABI := armeabi-v7a |
| 33 | TARGET_CPU_ABI2 := armeabi |
Jean-Baptiste Queru | a057d5d | 2012-08-03 14:48:09 -0700 | [diff] [blame] | 34 | TARGET_ARCH := arm |
| 35 | TARGET_ARCH_VARIANT := armv7-a-neon |
Christopher Ferris | d18be78 | 2013-02-05 15:46:53 -0800 | [diff] [blame] | 36 | TARGET_CPU_VARIANT := cortex-a9 |
Jean-Baptiste Queru | a057d5d | 2012-08-03 14:48:09 -0700 | [diff] [blame] | 37 | |
| 38 | TARGET_USERIMAGES_USE_EXT4 := true |
| 39 | |
| 40 | BOARD_SYSTEMIMAGE_PARTITION_SIZE := 681574400 |
Ying Wang | 83a56b0 | 2014-11-18 18:07:49 -0800 | [diff] [blame] | 41 | # Disable journaling on system.img to save space. |
| 42 | BOARD_SYSTEMIMAGE_JOURNAL_SIZE := 0 |
Jean-Baptiste Queru | a057d5d | 2012-08-03 14:48:09 -0700 | [diff] [blame] | 43 | BOARD_USERDATAIMAGE_PARTITION_SIZE := 6567231488 |
| 44 | BOARD_FLASH_BLOCK_SIZE := 4096 |
| 45 | |
| 46 | # Wifi related defines |
| 47 | BOARD_WPA_SUPPLICANT_DRIVER := NL80211 |
| 48 | WPA_SUPPLICANT_VERSION := VER_0_8_X |
| 49 | BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_bcmdhd |
| 50 | BOARD_HOSTAPD_DRIVER := NL80211 |
| 51 | BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_bcmdhd |
| 52 | BOARD_WLAN_DEVICE := bcmdhd |
| 53 | #WIFI_DRIVER_MODULE_PATH := "/system/lib/modules/bcm4329.ko" |
| 54 | WIFI_DRIVER_FW_PATH_PARAM := "/sys/module/bcmdhd/parameters/firmware_path" |
| 55 | WIFI_DRIVER_FW_PATH_STA := "/vendor/firmware/fw_bcmdhd.bin" |
| 56 | WIFI_DRIVER_FW_PATH_AP := "/vendor/firmware/fw_bcmdhd_apsta.bin" |
Jean-Baptiste Queru | a057d5d | 2012-08-03 14:48:09 -0700 | [diff] [blame] | 57 | |
| 58 | TARGET_BOOTLOADER_BOARD_NAME := grouper |
Jean-Baptiste Queru | a057d5d | 2012-08-03 14:48:09 -0700 | [diff] [blame] | 59 | |
| 60 | BOARD_USES_GENERIC_AUDIO := false |
| 61 | BOARD_USES_ALSA_AUDIO := false |
| 62 | |
| 63 | BOARD_USES_GENERIC_INVENSENSE := false |
| 64 | |
| 65 | BOARD_HAVE_BLUETOOTH := true |
| 66 | BOARD_HAVE_BLUETOOTH_BCM := true |
| 67 | |
Jean-Baptiste Queru | a057d5d | 2012-08-03 14:48:09 -0700 | [diff] [blame] | 68 | USE_OPENGL_RENDERER := true |
| 69 | BOARD_EGL_CFG := device/asus/grouper/egl.cfg |
| 70 | |
| 71 | ifneq ($(HAVE_NVIDIA_PROP_SRC),false) |
| 72 | # needed for source compilation of nvidia libraries |
| 73 | -include vendor/nvidia/proprietary_src/build/definitions.mk |
| 74 | -include vendor/nvidia/build/definitions.mk |
| 75 | endif |
| 76 | |
| 77 | # Avoid the generation of ldrcc instructions |
| 78 | NEED_WORKAROUND_CORTEX_A9_745320 := true |
| 79 | |
Ramanan Rajeswaran | 125fd3e | 2012-08-20 13:04:10 -0700 | [diff] [blame] | 80 | BOARD_USES_GROUPER_MODULES := true |
Jesse Hall | 45dc0f4 | 2013-10-11 10:23:33 -0700 | [diff] [blame] | 81 | |
Trevor Drake | 18bd993 | 2015-03-26 14:26:11 +0000 | [diff] [blame] | 82 | BOARD_KERNEL_CMDLINE := androidboot.hardware=$(TARGET_BOOTLOADER_BOARD_NAME) |
| 83 | |
Jesse Hall | 45dc0f4 | 2013-10-11 10:23:33 -0700 | [diff] [blame] | 84 | TARGET_RUNNING_WITHOUT_SYNC_FRAMEWORK := true |
Nick Kralevich | 5719b5e | 2014-06-04 14:07:25 -0700 | [diff] [blame] | 85 | |
Stephen Smalley | 9be9659 | 2015-04-01 10:30:08 -0400 | [diff] [blame] | 86 | BOARD_SEPOLICY_DIRS += device/asus/grouper/sepolicy |