1a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste Queru# Copyright (C) 2010 The Android Open Source Project 2a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste Queru# 3a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste Queru# Licensed under the Apache License, Version 2.0 (the "License"); 4a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste Queru# you may not use this file except in compliance with the License. 5a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste Queru# You may obtain a copy of the License at 6a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste Queru# 7a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste Queru# http://www.apache.org/licenses/LICENSE-2.0 8a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste Queru# 9a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste Queru# Unless required by applicable law or agreed to in writing, software 10a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste Queru# distributed under the License is distributed on an "AS IS" BASIS, 11a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste Queru# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste Queru# See the License for the specific language governing permissions and 13a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste Queru# limitations under the License. 14a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste Queru 15a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste Queru# 16a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste Queru# This file sets variables that control the way modules are built 17a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste Queru# thorughout the system. It should not be used to conditionally 18a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste Queru# disable makefiles (the proper mechanism to control what gets 19a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste Queru# included in a build is to use PRODUCT_PACKAGES in a product 20a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste Queru# definition file). 21a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste Queru# 22a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste Queru 23a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste Queru# inherit from the proprietary version 24a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste Queru# needed for BP-flashing updater extensions 25a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste Queru 262c9956ef4a1346c13b17fb03c40dc8faaec3ae23Wink Saville# Default value, if not overridden else where. 272c9956ef4a1346c13b17fb03c40dc8faaec3ae23Wink SavilleBOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR ?= device/asus/grouper/bluetooth 282c9956ef4a1346c13b17fb03c40dc8faaec3ae23Wink Saville 29a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste QueruTARGET_BOARD_PLATFORM := tegra3 30a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste QueruTARGET_TEGRA_VERSION := t30 31a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste Queru 32a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste QueruTARGET_CPU_ABI := armeabi-v7a 33a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste QueruTARGET_CPU_ABI2 := armeabi 34a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste QueruTARGET_CPU_SMP := true 35a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste QueruTARGET_ARCH := arm 36a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste QueruTARGET_ARCH_VARIANT := armv7-a-neon 37aee493bf55715f983c26f32e81d911f5304c9a3cChristopher FerrisTARGET_CPU_VARIANT := cortex-a9 38a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste Queru 39a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste QueruTARGET_USERIMAGES_USE_EXT4 := true 40a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste Queru 41a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste QueruBOARD_SYSTEMIMAGE_PARTITION_SIZE := 681574400 4283a56b0a79e3b80a721526ef46ff89616e601189Ying Wang# Disable journaling on system.img to save space. 4383a56b0a79e3b80a721526ef46ff89616e601189Ying WangBOARD_SYSTEMIMAGE_JOURNAL_SIZE := 0 44a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste QueruBOARD_USERDATAIMAGE_PARTITION_SIZE := 6567231488 45a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste QueruBOARD_FLASH_BLOCK_SIZE := 4096 46a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste Queru 47a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste Queru# Wifi related defines 48a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste QueruBOARD_WPA_SUPPLICANT_DRIVER := NL80211 49a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste QueruWPA_SUPPLICANT_VERSION := VER_0_8_X 50a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste QueruBOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_bcmdhd 51a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste QueruBOARD_HOSTAPD_DRIVER := NL80211 52a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste QueruBOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_bcmdhd 53a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste QueruBOARD_WLAN_DEVICE := bcmdhd 54a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste Queru#WIFI_DRIVER_MODULE_PATH := "/system/lib/modules/bcm4329.ko" 55a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste QueruWIFI_DRIVER_FW_PATH_PARAM := "/sys/module/bcmdhd/parameters/firmware_path" 56a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste QueruWIFI_DRIVER_FW_PATH_STA := "/vendor/firmware/fw_bcmdhd.bin" 57a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste QueruWIFI_DRIVER_FW_PATH_AP := "/vendor/firmware/fw_bcmdhd_apsta.bin" 58a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste Queru 59a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste QueruTARGET_BOOTLOADER_BOARD_NAME := grouper 60a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste Queru 61a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste QueruBOARD_USES_GENERIC_AUDIO := false 62a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste QueruBOARD_USES_ALSA_AUDIO := false 63a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste Queru 64a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste QueruBOARD_USES_GENERIC_INVENSENSE := false 65a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste Queru 66a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste QueruBOARD_HAVE_BLUETOOTH := true 67a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste QueruBOARD_HAVE_BLUETOOTH_BCM := true 68a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste Queru 69a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste QueruUSE_OPENGL_RENDERER := true 70a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste QueruBOARD_EGL_CFG := device/asus/grouper/egl.cfg 71a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste Queru 72a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste Queruifneq ($(HAVE_NVIDIA_PROP_SRC),false) 73a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste Queru# needed for source compilation of nvidia libraries 74a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste Queru-include vendor/nvidia/proprietary_src/build/definitions.mk 75a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste Queru-include vendor/nvidia/build/definitions.mk 76a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste Queruendif 77a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste Queru 78a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste Queru# Avoid the generation of ldrcc instructions 79a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste QueruNEED_WORKAROUND_CORTEX_A9_745320 := true 80a057d5d0b095a5442923d0427d8792be0d59af54Jean-Baptiste Queru 81125fd3e6d914d0b7b83df4f8d5a7061ebbf239e5Ramanan RajeswaranBOARD_USES_GROUPER_MODULES := true 82afb7a0a5bf30ed967cf91d96e7f3100123d93455rpcraig 8345dc0f499e86667eee293c80b6ab2cbbd5aa8f76Jesse HallTARGET_RUNNING_WITHOUT_SYNC_FRAMEWORK := true 84bcdf76076bdb6a3dfb728ee8165e23aefede2f95Jesse Hall 85afb7a0a5bf30ed967cf91d96e7f3100123d93455rpcraigBOARD_SEPOLICY_DIRS += \ 86afb7a0a5bf30ed967cf91d96e7f3100123d93455rpcraig device/asus/grouper/sepolicy 87afb7a0a5bf30ed967cf91d96e7f3100123d93455rpcraig 88afb7a0a5bf30ed967cf91d96e7f3100123d93455rpcraigBOARD_SEPOLICY_UNION += \ 89afb7a0a5bf30ed967cf91d96e7f3100123d93455rpcraig file_contexts \ 90afb7a0a5bf30ed967cf91d96e7f3100123d93455rpcraig genfs_contexts \ 917b97740f1d9d3bd4852e370e4c59f748b2f24360Stephen Smalley bluetooth.te \ 92afb7a0a5bf30ed967cf91d96e7f3100123d93455rpcraig device.te \ 932d36121868ff1023d0210861bd6a447102b09ce9Robert Craig domain.te \ 94afb7a0a5bf30ed967cf91d96e7f3100123d93455rpcraig drmserver.te \ 95afb7a0a5bf30ed967cf91d96e7f3100123d93455rpcraig init_shell.te \ 96afb7a0a5bf30ed967cf91d96e7f3100123d93455rpcraig file.te \ 9726dc522dd34e6ff127845d0af36d38ae7342db64Stephen Smalley gpsd.te \ 9826dc522dd34e6ff127845d0af36d38ae7342db64Stephen Smalley keystore.te \ 9953433d3a9e6a8416777091dfdaa654e98f5dc94eStephen Smalley lmkd.te \ 10027980970a99d5ba3fd39d3d5612e2c5c49a5b3c8rpcraig mediaserver.te \ 101de84e45d7e6f9dbd6ba8bfaf592130751d2ea853Nick Kralevich recovery.te \ 102afb7a0a5bf30ed967cf91d96e7f3100123d93455rpcraig rild.te \ 103afb7a0a5bf30ed967cf91d96e7f3100123d93455rpcraig sensors_config.te \ 104afb7a0a5bf30ed967cf91d96e7f3100123d93455rpcraig surfaceflinger.te \ 105afb7a0a5bf30ed967cf91d96e7f3100123d93455rpcraig system_app.te \ 106edc8b9da86dadb624da0eb8a032f094254324272Nick Kralevich system_server.te \ 10781dbb4b548a22ab879d9c579abc261f0475e4c69Paul Lawrence ueventd.te \ 108bceb8444c08f43f3cd668e88d061e9897e51cacawayne vold.te \ 109bceb8444c08f43f3cd668e88d061e9897e51cacawayne radio.te 110