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 26 # Default value, if not overridden else where. 27 BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR ?= device/asus/grouper/bluetooth 28 29 TARGET_BOARD_PLATFORM := tegra3 30 TARGET_TEGRA_VERSION := t30 31 32 TARGET_CPU_ABI := armeabi-v7a 33 TARGET_CPU_ABI2 := armeabi 34 TARGET_CPU_SMP := true 35 TARGET_ARCH := arm 36 TARGET_ARCH_VARIANT := armv7-a-neon 37 TARGET_CPU_VARIANT := cortex-a9 38 39 TARGET_USERIMAGES_USE_EXT4 := true 40 41 BOARD_SYSTEMIMAGE_PARTITION_SIZE := 681574400 42 # Disable journaling on system.img to save space. 43 BOARD_SYSTEMIMAGE_JOURNAL_SIZE := 0 44 BOARD_USERDATAIMAGE_PARTITION_SIZE := 6567231488 45 BOARD_FLASH_BLOCK_SIZE := 4096 46 47 # Wifi related defines 48 BOARD_WPA_SUPPLICANT_DRIVER := NL80211 49 WPA_SUPPLICANT_VERSION := VER_0_8_X 50 BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_bcmdhd 51 BOARD_HOSTAPD_DRIVER := NL80211 52 BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_bcmdhd 53 BOARD_WLAN_DEVICE := bcmdhd 54 #WIFI_DRIVER_MODULE_PATH := "/system/lib/modules/bcm4329.ko" 55 WIFI_DRIVER_FW_PATH_PARAM := "/sys/module/bcmdhd/parameters/firmware_path" 56 WIFI_DRIVER_FW_PATH_STA := "/vendor/firmware/fw_bcmdhd.bin" 57 WIFI_DRIVER_FW_PATH_AP := "/vendor/firmware/fw_bcmdhd_apsta.bin" 58 59 TARGET_BOOTLOADER_BOARD_NAME := grouper 60 61 BOARD_USES_GENERIC_AUDIO := false 62 BOARD_USES_ALSA_AUDIO := false 63 64 BOARD_USES_GENERIC_INVENSENSE := false 65 66 BOARD_HAVE_BLUETOOTH := true 67 BOARD_HAVE_BLUETOOTH_BCM := true 68 69 USE_OPENGL_RENDERER := true 70 BOARD_EGL_CFG := device/asus/grouper/egl.cfg 71 72 ifneq ($(HAVE_NVIDIA_PROP_SRC),false) 73 # needed for source compilation of nvidia libraries 74 -include vendor/nvidia/proprietary_src/build/definitions.mk 75 -include vendor/nvidia/build/definitions.mk 76 endif 77 78 # Avoid the generation of ldrcc instructions 79 NEED_WORKAROUND_CORTEX_A9_745320 := true 80 81 BOARD_USES_GROUPER_MODULES := true 82 83 TARGET_RUNNING_WITHOUT_SYNC_FRAMEWORK := true 84 85 BOARD_SEPOLICY_DIRS += \ 86 device/asus/grouper/sepolicy 87 88 BOARD_SEPOLICY_UNION += \ 89 file_contexts \ 90 genfs_contexts \ 91 bluetooth.te \ 92 device.te \ 93 domain.te \ 94 drmserver.te \ 95 init_shell.te \ 96 file.te \ 97 gpsd.te \ 98 keystore.te \ 99 lmkd.te \ 100 mediaserver.te \ 101 recovery.te \ 102 rild.te \ 103 sensors_config.te \ 104 surfaceflinger.te \ 105 system_app.te \ 106 system_server.te \ 107 ueventd.te \ 108 vold.te \ 109 radio.te 110