1# 2# Copyright (C) 2011 The Android Open-Source Project 3# 4# Licensed under the Apache License, Version 2.0 (the "License"); 5# you may not use this file except in compliance with the License. 6# You may obtain a copy of the License at 7# 8# http://www.apache.org/licenses/LICENSE-2.0 9# 10# Unless required by applicable law or agreed to in writing, software 11# distributed under the License is distributed on an "AS IS" BASIS, 12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13# See the License for the specific language governing permissions and 14# limitations under the License. 15# 16 17# These two variables are set first, so they can be overridden 18# by BoardConfigVendor.mk 19BOARD_USES_GENERIC_AUDIO := true 20 21# Default values, possibly overridden by BoardConfigVendor.mk 22TARGET_BOARD_INFO_FILE := device/samsung/manta/board-info.txt 23BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/samsung/manta/bluetooth 24 25# Use the non-open-source parts, if they're present 26-include vendor/samsung/manta/BoardConfigVendor.mk 27 28TARGET_CPU_ABI := armeabi-v7a 29TARGET_CPU_ABI2 := armeabi 30TARGET_CPU_SMP := true 31TARGET_ARCH := arm 32TARGET_ARCH_VARIANT := armv7-a-neon 33TARGET_CPU_VARIANT := cortex-a15 34 35#Bluetooth 36BOARD_HAVE_BLUETOOTH := true 37BOARD_HAVE_BLUETOOTH_BCM := true 38 39TARGET_NO_BOOTLOADER := true 40 41TARGET_NO_RADIOIMAGE := true 42TARGET_BOARD_PLATFORM := exynos5 43TARGET_BOOTLOADER_BOARD_NAME := manta 44 45BOARD_EGL_CFG := device/samsung/manta/egl.cfg 46 47OVERRIDE_RS_DRIVER := libRSDriverArm.so 48 49#BOARD_USES_HGL := true 50#BOARD_USES_OVERLAY := true 51USE_OPENGL_RENDERER := true 52NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3 53 54TARGET_RECOVERY_FSTAB = device/samsung/manta/fstab.manta 55TARGET_USERIMAGES_USE_EXT4 := true 56BOARD_SYSTEMIMAGE_PARTITION_SIZE := 685768704 57# Disable journaling on system.img to save space. 58BOARD_SYSTEMIMAGE_JOURNAL_SIZE := 0 59BOARD_USERDATAIMAGE_PARTITION_SIZE := 14273216512 60BOARD_CACHEIMAGE_PARTITION_SIZE := 553648128 61BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4 62BOARD_FLASH_BLOCK_SIZE := 4096 63 64#TARGET_PROVIDES_INIT_RC := true 65#TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true 66 67# Wifi related defines 68BOARD_WPA_SUPPLICANT_DRIVER := NL80211 69WPA_SUPPLICANT_VERSION := VER_0_8_X 70BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_bcmdhd 71BOARD_HOSTAPD_DRIVER := NL80211 72BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_bcmdhd 73BOARD_WLAN_DEVICE := bcmdhd 74WIFI_DRIVER_FW_PATH_PARAM := "/sys/module/bcmdhd/parameters/firmware_path" 75WIFI_DRIVER_FW_PATH_STA := "/vendor/firmware/fw_bcmdhd.bin" 76WIFI_DRIVER_FW_PATH_AP := "/vendor/firmware/fw_bcmdhd_apsta.bin" 77 78BOARD_HAL_STATIC_LIBRARIES := libhealthd.manta libdumpstate.manta 79 80BOARD_CHARGER_DISABLE_INIT_BLANK := true 81 82TARGET_RECOVERY_UPDATER_LIBS += librecovery_updater_manta 83TARGET_RELEASETOOLS_EXTENSIONS := device/samsung/manta 84 85BOARD_SEPOLICY_DIRS += \ 86 device/samsung/manta/sepolicy 87 88BOARD_SEPOLICY_UNION += \ 89 file_contexts \ 90 device.te \ 91 domain.te \ 92 drmserver.te \ 93 healthd.te \ 94 gpsd.te \ 95 file.te \ 96 mediaserver.te \ 97 system_server.te 98 99MALLOC_IMPL := dlmalloc 100 101BOARD_INV_LIBMLLITE_FROM_SOURCE := true 102