blob: 27924d0278924cda5d5687518bc179167c83eaa3 [file] [log] [blame]
Jean-Baptiste Querua057d5d2012-08-03 14:48:09 -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# inherit from the proprietary version
24# needed for BP-flashing updater extensions
25
Wink Saville2c9956e2012-08-20 14:39:02 -070026# Default value, if not overridden else where.
27BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR ?= device/asus/grouper/bluetooth
28
Jean-Baptiste Querua057d5d2012-08-03 14:48:09 -070029TARGET_BOARD_PLATFORM := tegra3
30TARGET_TEGRA_VERSION := t30
31
32TARGET_CPU_ABI := armeabi-v7a
33TARGET_CPU_ABI2 := armeabi
34TARGET_CPU_SMP := true
35TARGET_ARCH := arm
36TARGET_ARCH_VARIANT := armv7-a-neon
Christopher Ferrisaee493b2013-02-05 15:46:53 -080037TARGET_CPU_VARIANT := cortex-a9
Jean-Baptiste Querua057d5d2012-08-03 14:48:09 -070038
39TARGET_USERIMAGES_USE_EXT4 := true
40
41BOARD_SYSTEMIMAGE_PARTITION_SIZE := 681574400
42BOARD_USERDATAIMAGE_PARTITION_SIZE := 6567231488
43BOARD_FLASH_BLOCK_SIZE := 4096
44
45# Wifi related defines
46BOARD_WPA_SUPPLICANT_DRIVER := NL80211
47WPA_SUPPLICANT_VERSION := VER_0_8_X
48BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_bcmdhd
49BOARD_HOSTAPD_DRIVER := NL80211
50BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_bcmdhd
51BOARD_WLAN_DEVICE := bcmdhd
52#WIFI_DRIVER_MODULE_PATH := "/system/lib/modules/bcm4329.ko"
53WIFI_DRIVER_FW_PATH_PARAM := "/sys/module/bcmdhd/parameters/firmware_path"
54WIFI_DRIVER_FW_PATH_STA := "/vendor/firmware/fw_bcmdhd.bin"
55WIFI_DRIVER_FW_PATH_AP := "/vendor/firmware/fw_bcmdhd_apsta.bin"
Jean-Baptiste Querua057d5d2012-08-03 14:48:09 -070056
57TARGET_BOOTLOADER_BOARD_NAME := grouper
Jean-Baptiste Querua057d5d2012-08-03 14:48:09 -070058
59BOARD_USES_GENERIC_AUDIO := false
60BOARD_USES_ALSA_AUDIO := false
61
62BOARD_USES_GENERIC_INVENSENSE := false
63
64BOARD_HAVE_BLUETOOTH := true
65BOARD_HAVE_BLUETOOTH_BCM := true
66
Jean-Baptiste Querua057d5d2012-08-03 14:48:09 -070067USE_OPENGL_RENDERER := true
68BOARD_EGL_CFG := device/asus/grouper/egl.cfg
69
70ifneq ($(HAVE_NVIDIA_PROP_SRC),false)
71# needed for source compilation of nvidia libraries
72-include vendor/nvidia/proprietary_src/build/definitions.mk
73-include vendor/nvidia/build/definitions.mk
74endif
75
76# Avoid the generation of ldrcc instructions
77NEED_WORKAROUND_CORTEX_A9_745320 := true
78
Ramanan Rajeswaran125fd3e2012-08-20 13:04:10 -070079BOARD_USES_GROUPER_MODULES := true
rpcraigafb7a0a2013-09-18 16:28:20 -040080
Jesse Hall45dc0f42013-10-11 10:23:33 -070081TARGET_RUNNING_WITHOUT_SYNC_FRAMEWORK := true
Jesse Hallbcdf7602013-10-11 12:42:07 -070082
rpcraigafb7a0a2013-09-18 16:28:20 -040083BOARD_SEPOLICY_DIRS += \
84 device/asus/grouper/sepolicy
85
86BOARD_SEPOLICY_UNION += \
87 file_contexts \
88 genfs_contexts \
Stephen Smalley7b977402014-01-13 09:01:43 -050089 bluetooth.te \
rpcraigafb7a0a2013-09-18 16:28:20 -040090 device.te \
Robert Craig2d361212014-02-20 20:14:36 -050091 domain.te \
rpcraigafb7a0a2013-09-18 16:28:20 -040092 drmserver.te \
93 init_shell.te \
94 file.te \
Stephen Smalley26dc5222013-12-20 12:38:52 -050095 gpsd.te \
96 keystore.te \
Stephen Smalley53433d32014-03-11 08:47:57 -040097 lmkd.te \
rpcraig27980972013-09-18 22:30:39 -040098 mediaserver.te \
rpcraigafb7a0a2013-09-18 16:28:20 -040099 rild.te \
100 sensors_config.te \
rpcraigafb7a0a2013-09-18 16:28:20 -0400101 surfaceflinger.te \
102 system_app.te \
Nick Kralevichedc8b9d2013-11-07 16:05:17 -0800103 system_server.te \
Paul Lawrence81dbb4b2014-04-21 14:23:31 -0700104 ueventd.te \
105 vold.te